[thelist] [javascript] Window.onload > YUI vs. Prototype

Paul Bennett Paul.Bennett at wcc.govt.nz
Mon Apr 7 15:34:39 CDT 2008

> 1) Possibly there's some explicit myLightbox.init() that needs to be run?

I'm running it manually - it runs (I used some alerts to check)

> 2) find instances of 'window.onload' and change 'em to a proper listener
     e.g. in Prototype -- Event.observe(window, 'load', do_something);
     so  previous listeners aren't removed.

This may be the key - will try :)

Thanks Hassan

More information about the thelist mailing list