Possible Duplicate:
jquery callback after all images in dom are loaded?
I am using the following script to load a div once the page load is complete:
<script type="text/javascript">
$(document).ready(function(){
$('#page_effect').fadeIn(1618);
});
</script>
However, the problem is that the fadeIn fires off the moment the page is finished loading, but not all of the images. Is there a way to change it so it fires off the fadeIn the moment ALL of the files are finished loading?
Thank you.