I have a page with ALOT of content which takes about a minute to load. I don't want content to appear until it is all loaded, so I make the containing div hidden, and then onload I make it visible:
$(document).ready(function(){
$('div').css('visibility','visible');
}
Is there a way I can determine the progress of the loading (ie 50% loaded, 70% loaded) that way I can make a progress bar. To be clear, I can make a progress bar on my own. The question here is instead of only knowing when the page is 100% ready to make the div visible, can I know its continous progress so that I can relay that to the user while they wait?