Wait until page is loaded before showing content (use preloader screen)


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $(window).bind('load',function() {
  2. $('#page-loading').fadeOut('fast').remove();
  3. $('#content-container').animate({opacity:1},'fast');
  4. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.