[TYPO3] JS onLoad without conflicts

Christian Lerrahn (Cerebrum) christian.lerrahn at cerebrum.com.au
Mon Feb 19 14:00:45 CET 2007


On Sun, 18 Feb 2007 11:15:40 +0100
"Peter Klein" <peter at umloud.dk> wrote:

> 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/

Ta!

Christian

> --
> 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