--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'>
<img tal:attributes="src
http://domain/xxx/xxx/s?websitename.${title_or_id}";      width="1"
height="1" alt="" />

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.


Attachment: pgpeYM5aT89ds.pgp
Description: PGP signature

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

Reply via email to