deXter
deXter

Reputation: 354

Suggest Jquery Preloader

Can you please suggest me some Jquery Preloader for my site.I want to preload a complete page i.e body of the page.

Upvotes: 0

Views: 216

Answers (1)

fearmear
fearmear

Reputation: 539

You can just hide body block or even html block with display:none css property.

body { display: none }

And then show it with jQuery like this:

$(function(){ $("body").show() })

Adding noscript tag in head for users with disabled javascript.

<noscript>
<style><!-- body { display: block } --></style>
</noscript>

Upvotes: 2

Related Questions