Sponsorised links
This year
2008
Deux scripts qui ne fonctionne pas ensemble | Problèmes avec un script de l'éditeur JavaScript ? | Forums [ L'éditeur JavaScript ]
window.onload = fonction_debut;
function fonction_debut()
{
fonction1();
fonction2();
}
Sponsorised links
2007
2006
2005
wg:Breaking onload limits
Every javascript coder, in almost every script, has encountered the onload limits.
Simon Willison: Executing JavaScript on page load
assigning a callback function directly to the window.onload handler is out of the question as doing so will over-ride previously assigned callbacks from other scripts
[brothercake] domFunction [was:domReady]
domFunction is an easy-to-use helper script, that allows other DOM scripting to run before window.onload; the practical benefit is that javascript doesn't have to wait for images or other dependencies to finish loading anymore - it can begin as soon as the DOM is ready.
1
(19 marks)
