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


You need to login to view comments.