Click to See Complete Forum and Search --> : How to load a page only when content is ready


korg
01-06-2004, 01:13 PM
Hi, I'd like to know if it is possible to post a web page only when the content of the page is completely loaded. I develop a web-app and I need to be able to post my page only when the entire page is loaded because if the user uses some functionalities, an error occurs and there is no other way to avoid that!

Thanks all
Korg

TheBearMay
01-06-2004, 01:21 PM
My current favorite is to set the visibility to hidden until the site has loaded:



...
<body onload="hidDiv.visibility='visible';">
<div style="visibility:hidden" id="hidDiv">
Content here....
</div>
</body>
...