SHARE
TWEET

preloader.js

ryfan Aug 31st, 2016 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(window).load(function() { // makes sure the whole site is loaded
  2.   $('#status').fadeOut(); // will first fade out the loading animation
  3.   $('#preloader').delay(350).fadeOut('slow'); // will fade out the white DIV that covers the website.
  4.   $('body').delay(350).css({
  5.     'overflow': 'visible'
  6.   });
  7. })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top