onDOMLoad: Faster javascript for faster pages with a cross browser version of DOMContentLoaded
Tuesday, May 6th, 2008I have been quite entertained by all the recent talk about page loading speeds, optimization and profiling (eg: YSlow), so I decided to wrap up one of my functions into a usable form for you to dissect.
I call it, onDOMLoad.
Go and have a look at the demo of onDOMLoad.
onDOMLoad is a wrapper to the code [...]