Homepage » Web Development » window.onDomLoad

window.onDomLoad

By Jonathan + September 21st, 2005

I wish more people would use a function like this with their Ajax. It’s really annoying to wait for all the images on a page to load for a request to fire ;-) If you have no idea what I’m talking about, I hope you enjoy your much simplier life…possibly aboard some sort of fantasy sub-marine vessel chasing sea-monkies.

[brothercake] domFunction

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

2 Comments at "window.onDomLoad"

MrHappy September 21st, 2005 (#)

Now that is sexy.

Daniel F September 22nd, 2005 (#)

Dude. Sweet. Thanks!

Oh, any others journeying to the site should check out Docking Boxes. Nice implementation and good events for docked boxes. I think I’m gunna replace our shitty component art snap asp.net thing with it

Comment Now!

Name* Email* Blog / Website

Latest Posts

Fixing Connect360 on the New Xbox Experience November 19th, 2008

Fixing Connect360 on the New Xbox Experience

When I fired up the New Xbox Experience tonight, the first thing I checked was whether Connect360 worked. I think I would probably use my Xbox for a[...] Read the rest »