[jQuery] Re: A definitive way to wait all images are loaded

2007-09-08 Thread Dan G. Switzer, II
The window.onload waits until everything on the page is done loading--including all images. -Dan >-Original Message- >From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On >Behalf Of Giovanni Battista Lenoci >Sent: Saturday, September 08, 2007 8:54 AM >To: jQuery (English) >Subje

[jQuery] Re: A definitive way to wait all images are loaded

2007-09-08 Thread giovanni battista lenoci
> > Just use oldschool window load: > > $(window).load(function() { > // everything loaded > }); Thank you, it was very simple

[jQuery] Re: A definitive way to wait all images are loaded

2007-09-08 Thread Klaus Hartl
Giovanni Battista Lenoci wrote: Hi, I've searched in the list but didn't find the way to solve. I'm using jquery to change the position of different elements, but these positions depends on the image size of multiple images on the page. If I use document.ready jquery start to work before all s

[jQuery] Re: A definitive way to wait all images are loaded

2007-09-08 Thread Jörn Zaefferer
Giovanni Battista Lenoci schrieb: Is there a better way to do this? Just use oldschool window load: $(window).load(function() { // everything loaded }); -- Jörn