[jQuery] Re: how to wait for image finished loading then display the page?

2009-02-06 Thread Stephan Veigl
Hi Mark, I would suggest that you wait on the load event of your images. Something like: var imgTotal = 10; // total number of images on your page var imgCount = 0; $("img").load(function(){ imCount++; if (imgCount == imgTotal) $("#skip").show(); } There are plenty of discussions about

[jQuery] Re: how to wait for image finished loading then display the page?

2009-02-06 Thread gregory.pelletey
Hello What about this? about.php Get me out of here ! // .. //your code... // .. $(document).ready(function(){ $('#skip').find('span').hide().end().show('slow').end().find ('span').show('slow'); });