I know this is offtopic, but have you considered using the domready
event of new js libs (like mootools, jquery and others) ?
It permits to have the same benefits than the js files at the bottom,
without the drawbacks...

-- Jon

On 6 déc, 01:12, "[email protected]" <[email protected]> wrote:
> This is in Turbogears 1.0.x, but I doubt that matters much...
>
> I have a master template and a bunch of individual page templates.
>
> All of my pages require some Javascript to be loaded.  Those script
> tags are in the master template.
>
> Then some individual pages also require scripts to be loaded.  These
> must be loaded after the generic scripts in the master template.
>
> All works as expected when the scripts are located in the head part of
> the html document.
>
> But I want to move the scripts down to the bottom of the page.  This
> is easily doable if I want the unique scripts loaded first, followed
> by the generic scripts in the master template.  But, I want the
> generic scripts loaded first, followed by the unique scripts in the
> individual pages.
>
> How do I accomplish this?  I'm sure its some kind of magic combination
> of py:replace and select but I haven't figured it out...

--

You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.


Reply via email to