Simon Willison’s Weblog

Subscribe
Atom feed for onload

5 items tagged “onload”

2008

Automate firing of onload events. Paul Irish suggests setting up your site’s onload handlers in a single external JavaScript file then executing different handlers depending on the body element’s id attribute.

# 17th January 2008, 4:08 pm / javascript, onload, paul-irish

2007

Native DOMContentLoaded is coming to Safari. I filed this bug over two years ago. They’ve just committed the resulting patch to trunk.

# 8th October 2007, 1:07 am / browsers, domcontentloaded, javascript, onload, safari, webkit

Return of the HTTP overhead delay. Christian proposes a neat way of improving page performance, by delaying non-essential images such as avatars until after the rest of the page has loaded.

# 11th July 2007, 3:12 pm / avatars, christian-heilmann, http, images, javascript, onload, performance

The window.onload problem (still). Peter Michaux offers the most comprehensive overview of this important topic to date.

# 5th February 2007, 8:13 pm / javascript, onload

2004

Executing JavaScript on page load

Peter-Paul Koch recently wrote:

[... 772 words]