1/* 2Document Name: preload.js 3Document Purpose: Page preload indicator 4Document Version: 4.8 5*/ 6 7jQuery.noConflict(); 8 9jQuery(function() { 10 // Add Preloader after <body> 11 //jQuery('body').prepend('<div id="preloader"><div class="preload-icon"></div></div>'); // Added in core plugin file instead...works better 12 //jQuery('body').addClass('body-overflow'); // keep page from scrolling during load 13 jQuery('body').css('overflow','hidden'); 14}); 15 16jQuery(window).load(function() { 17 jQuery(document).ready(function() { 18 focus_preloader(); 19 }); 20}); 21function focus_preloader() { 22 jQuery('.preload-icon').delay(500).fadeOut(700); 23 jQuery('#preloader').delay(700).fadeOut(700); 24 //jQuery('body').delay(1000).removeClass('body-overflow'); 25 jQuery('body').css('overflow',''); 26}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.