[TYPO3-dev] Positioning JavaScript from a FE plugin

Steffen Kamper steffen at sk-typo3.de
Sun Nov 25 01:42:45 CET 2007


"Francois Suter" <fsuter at cobweb.ch> schrieb im Newsbeitrag 
news:mailman.1.1195925006.29839.typo3-dev at lists.netfielders.de...
> Hi,
>
>> Adding TS code like that isn't any good anyway. How can you know that my 
>> PAGE object is called "page"?
>
> You're right of course. One gets so used to one's habits... :-)
>
>> No. And it wouldn't be any good as there could be two extension which 
>> think "right after <body> is the only place for my code".
>
> True again, but it would still be helpful. I guess there's not any 
> JavaScript that needs to be absolutely the last thing before the closing 
> body tag. The main point is that it comes after the page's content.
>
> Cheers
>
> -- 
>
> Francois Suter
> Cobweb Development Sarl - http://www.cobweb.ch

positioning could be in same mannar as the output in HEAD: Array.
The method from includeJS could be used at the end (includeJSAfterBody e.g.)

vg  Steffen 






More information about the TYPO3-dev mailing list