24 Apr
2007
24 Apr
'07
2:51 p.m.
--On 24. April 2007 15:40:22 +0100 Dean Hale <dean.hale@sunderland.ac.uk> wrote:
Hi Andreas,
Thanks - i know the title does not belong in a script tag, i just want the text within the title tag appended within the javascript, not the tags themselves. Sorry its my explanations for help that are unclear.
thanks dan
Move your code to generate the HTML snippet into a script and generate whatever you need on the Python level. If you generate the <title> using TALES, you can use the same API in Python to generate the title inside your <script> code. Then call the script from the template. -ajh