cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <>
Subject Re: Augment Transformer does not ignore javascript
Date Thu, 02 Jan 2003 09:48:13 GMT
Alex Romayev wrote:
> Hi,
> I've noticed that Augment Transformer (which is very
> useful), ignores absolute URLs, but not javascript. 
> I'm trying to create a "go back" link and the
> transformer is appending my "javascript:back()" with
> the full path.  Of cource I could create my own
> transformer to ignore javascript in addition to
> absolute URLs, but it seems like it would be a useful
> feature for others as well.
> Does it make sence?

Mostly. The Augment transformer has some bugs of its own (it prepends an 
URL in front of "mailto:" links for instance) but "javascript:" URLs are 
invalid. Instead of

<a href="javascript:back()">

you should be using

<a href="#" onCLick="window.back();return false;">


Ugo Cei -

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message