1$(document).ready(function () { 2 var nav = $("#nav"); 3 4 if (nav.length === 0) { 5 return; 6 } 7 8 var pos = nav.position(); 9 10 $(window).scroll(function () { 11 var windowpos = $(window).scrollTop(); 12 13 if (windowpos >= pos.top) { 14 nav.addClass("stick"); 15 } else { 16 nav.removeClass("stick"); 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.