Hello all,

Thanks very much for all of your help.

thanks
dean

On 24 Apr 2007, at 16:20, Andreas Jung wrote:



--On 24. April 2007 09:56:41 -0500 Jeff Rush <[EMAIL PROTECTED]> wrote:


I don't see above him putting a <title> tag within the <script> tag. He wants to put the *value* of the <title> tag inside the <script> tag. It seems some form of a string: expression would do it, assuming the title
is not literally in the zpt but rather expanded from a variable.

<script language='JavaScript1.1' type='text/javascript'>
 <noscript>
<img tal:attributes="src
http://domain/xxx/xxx/s?websitename.${title_or_id}";      width="1"
height="1" alt="" />
</noscript>
</script>


As far as I can recall: you can't use TALES within a SCRIPT block.
That's why you must generate your stuff outside inside a script.

-aj


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to