jQuery: Load All Resources Before Displaying the Site

<body style="display:none;"> <!-- content --> <!-- content --> <script> jQuery( document ).ready(function() { jQuery( "body" ).show(); }); </script> </body>
Prevent the display of the site before all resources are loaded.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.