On Jan 28, 2008, at 2:21 PM, Alexandre Plennevaux wrote:

Am i correct to assume it means that document.ready means the html page is loaded, but not other files, such as its css, img and js dependencies?

Yes. If you are doing preloading it is better to bind to window.load. Otherwise preloading will make rest of the page feel sluggish.

$(window).bind('load', function() {
 /* preload stuff here */
});


--
Mika Tuupola
http://www.appelsiini.net/

Reply via email to