1jQuery(document).ready(function() { 2 jQuery(document).on("scroll", onScroll); 3 onepageNavLinks = jQuery('.onepage .t4-navbar .nav-link'); 4 5 function onScroll(event){ 6 var scrollPos = jQuery(document).scrollTop(); 7 onepageNavLinks.each(function () { 8 var currLink = jQuery(this); 9 var refElement = jQuery(currLink.attr("href")); 10 if (refElement.position().top <= scrollPos /* && refElement.position().top + refElement.height() > scrollPos*/ ) { 11 onepageNavLinks.removeClass("active"); 12 currLink.addClass("active"); 13 } 14 else{ 15 currLink.removeClass("active"); 16 } 17 }); 18 } 19})
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.