June 2007 Archives

Archive navigation
Home

Managing multiple onLoad events with Prototype

Jun 16

This is an update to a previous article written way back in 2003 "Managing multiple onLoad events in JavaScript".

The article describes how to create an array of onload (window.onload) events in order to queue each event and enable the browser to perform onload sequentially. However this can all be forgotten in preference to the Prototype Javascript Framework and the useful Event Observe method.

Use Event.observe instead of using <body onload="return myFunction()"> or DOM Level-0 event property window.onload = myFunction;


Comments (2) Continue reading
Filed under:
Scripting
Flickr
The Bish presents
Sitemap wall
Sitemap wall
E4 Sitemap
Sitemap wall
The last sunset
Recent Posts
Managing multiple onLoad events with Prototype
Noteworthy
Film and Digital Camera Simulator - Simulate photography, camera simulator designed to teach basic photographic principles including shutter speed, aperture, film speed, exposure and camera shake.
Windows Pictures: Windows Evolution. From 1.0 to Vista. - Walk down memory lane, a visual history of the Window Operating System
Windows Vista - Backup tool fails to impress - A review of Windows Vista Backup tools, Usability and functionality.
Forget the film, watch the titles - Collection of great movie title sequences.
BT Digital Vault - BT Digital Vault - Allows BT customers to backup their important files

Powered by MT Blogroll
Archives
February 2008
July 2007
June 2007
May 2007
July 2006
April 2006
November 2005
September 2005
August 2005
July 2005
June 2005
May 2005
March 2005
February 2005
January 2005
December 2004
November 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
July 2003
June 2003
May 2003
April 2003
February 2003
January 2003
December 2002
September 2002
August 2002
July 2002
April 2002