Posted By

electblake on 04/15/10


Tagged

window preload preloader


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

nightshiftc
jfherring
x0nine
dubogii
wirenaught
Some0ne


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


 / Published in: jQuery
 

  1. $(window).bind('load',function() {
  2. $('#page-loading').fadeOut('fast').remove();
  3. $('#content-container').animate({opacity:1},'fast');
  4. });

Report this snippet  

You need to login to post a comment.