[Grok-dev] Re: More Tutorial Feedback

Noah Gift noah.gift at gmail.com
Sat Jan 5 19:27:08 EST 2008


>
> If you want to include javascript you do something like this:
>
> <script type="text/javascript" tal:attributes="src static/ 
> myscript.js" />

Thanks that worked perfectly Martijn!

>
>
> The trick is to use tal:attributes so you can dynamically evaluate  
> path expressions. Then you use the special 'static' name to go into  
> your 'static' directory.
>


More information about the Grok-dev mailing list