Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jquery animation after complete page loaded

Tags:

jquery

How to do an animation after a page(images and everything) completely loaded with Jquery.( like please wait screen before a page is loading)

Thank You

Update:

I need to hide everything in the page and once everything loaded then only the page has to be show.

like image 246
KillerFish Avatar asked Mar 09 '11 13:03

KillerFish


1 Answers

$(window).load(function(){
  $('#loading').fadeOut('fast');
});

fadeOut() can be changed to antything you want.

like image 85
Thinker Avatar answered Nov 05 '22 21:11

Thinker