SHARE
TWEET

Untitled

a guest Apr 18th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- Loading screen -->
  2. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
  3. <div class="logoload"></div>
  4. <script>
  5. $(function() {
  6.   var loadLogo = 'ENTER YOUR .GIF URL HERE';
  7.   $('.logoload').css('background-image', 'url(' + loadLogo + ')');
  8. });
  9. </script>
  10. <style>
  11. .logoload {
  12.   /* SET BACKGROUND COLOR */
  13.   background-color: #000000;
  14.   /* SET BACKGROUND SIZE */
  15.   background-size: 150px;
  16.   position: fixed;
  17.   left: 0px;
  18.   top: 0px;
  19.   width: 100%;
  20.   height: 100%;
  21.   z-index: 9999;
  22.   background-position: center;
  23.   background-repeat: no-repeat;
  24. }
  25. </style>
  26. <script type="text/javascript">
  27. $(window).load(function() {
  28.  $(".logoload").delay(200).fadeOut("slow");
  29. })
  30. </script>
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
 
Top