[ZPT] structure in tal:attributes?
Evan Simpson
evan@zope.com
Tue, 27 Nov 2001 22:08:09 -0500
Ron Bickers wrote:
> <a tal:attributes='href
> string:javascript:NewWindow("http://domain/${here/mypath}")'>
>
> Browsers definitely don't like
> javascript:NewWindow("http://domain/coolpath/")
Which browsers? IE 5.5 and Mozilla 0.9.6 like it just fine, as should
any standards-compliant browser. They would not, however, enjoy double
quotes inside of double quotes. Can't you just reverse the quotes, and
write tal:attributes="href
string:javascript:NewWindow('http://domain/${here/mypath}')" instead?
Cheers,
Evan @ Zope