[TYPO3] JS onLoad without conflicts

Peter Klein peter at umloud.dk
Sun Feb 18 11:15:40 CET 2007


Yes, use Javascript functions "addEventListener" and "attachEvent".

Check out my extension "PMK Textarea Widget" for a working example..
http://typo3.org/extensions/repository/view/pmktextarea/0.1.2/

--
Peter Klein / Umloud Untd.

"Christian Lerrahn (Cerebrum)" <christian.lerrahn at cerebrum.com.au> wrote in 
message 
news:mailman.1.1171691290.27699.typo3-english at lists.netfielders.de...
> Hi,
> is it possible to get a script to be executed onLoad without risking to
> override some other plugin's (or whatever other component) functions? I
> could just put an window.onload=... in the header but then I might
> override another onload function or my function might be overridden by
> something else. Is it possible to avoid that?
>
> Cheers,
> Christian 




More information about the TYPO3-english mailing list