1//If page is scrolled show return to top arrow 2 3jQuery(window).scroll(function() { 4 if (jQuery(this).scrollTop() >= 50) { // If page is scrolled more than 50px 5 jQuery('#return-to-top').fadeIn(200); // Fade in the arrow 6 } else { 7 jQuery('#return-to-top').fadeOut(200); // Else fade out the arrow 8 } 9 }); 10 jQuery('#return-to-top').click(function() { // When arrow is clicked 11 jQuery('body,html').animate({ 12 scrollTop : 0 // Scroll to top of body 13 }, 1000); 14 }); 15 16 //If page is scrolled show return to top arrow end
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.