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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -