html - pre-load a webpage before viewing -
i have wordpress site has numerous large images (full screen background image scroller) , when go page goes 'pixel-ly' , looks broken until loaded.
what proper procedure load websites images users first @ site isn't broken or glitched?
hide until page loaded. show loading screen in meantime if want.
<body onload="document.getelementbyid('loading').style.display = 'none';document.getelementbyid('content').style.display = 'block';"> <div id="loading">some loading text or icon goes here...</div> <div id="content" style="display:none;">main content goes here...</div>
Comments
Post a Comment