JavaScript onload
Here's a way to use window.onload that won't break other scripts that also need to use it: Store the current value of window.onload before you set the new value, then call it as part of your own initialization.
I've written this short helper function to do the job …
View comments more ...