1// ===== Back to Top Button ==== 2jQuery(document).ready(function($){ 3 //grab the "back to top" link 4 $back_to_top = $('.topButton'); 5 6 $(window).scroll(function(){ 7 if ($(this).scrollTop() >= 100) { // If page is scrolled to bottom less than 50px 8 $('.topButton').fadeIn(200); // Fade in the arrow 9 } else { 10 $('.topButton').fadeOut(200); // Else fade out the arrow 11 } 12 }); 13 14 $back_to_top.on('click', function(event){ // When arrow is clicked 15 event.preventDefault(); 16 $('body,html').animate({ 17 scrollTop : 0 // Scroll to top of body 18 }, 500); 19 }); 20});
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.