[Javascript] Handle several window.onload functions

Matt Warden mwarden at gmail.com
Tue Jul 5 18:44:15 CDT 2005


Guillaume,

On 7/5/05, Guillaume <javascript at webdesignofficina.com> wrote:
> separate completely the JS i use from the document content. The problem i
> encounter is that i use several window.onload for the same document, wich
> cancel each other called separately. I'd like to build a global
> window.onload function, in wich i could add a list of different functions I
> fire up with window.onload. 

Simple.

http://mwarden.f2o.org/sandbox/viewsource.php?linemode=0&f=winonload.js

-- 
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.



More information about the Javascript mailing list