1// JavaScript Document 2 3 4 $(function() { 5 $(window).scroll(function() { 6 7 var scroll = $(document).scrollTop(); 8 if (scroll > 150 ) { 9 $("html").addClass("totop"); 10 $("html").removeClass("attop"); 11 } else { 12 $("html").removeClass("totop"); 13 $("html").addClass("attop"); 14 } 15 16 }); 17 }); 18 19 $(function() { 20 window.addEventListener('load',function() { 21 22 var scroll = $(document).scrollTop(); 23 if (scroll > 150 ) { 24 $("html").addClass("totop"); 25 $("html").removeClass("attop"); 26 } else { 27 $("html").removeClass("totop"); 28 $("html").addClass("attop"); 29 } 30 31 }); 32 }); 33
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.