1$(document).ready(function () { 2 var b = $("body"); 3 var w = $(window); 4 var s = false; 5 var update = function(){ 6 if (w.scrollTop() > 120 && !s) { 7 s = true; 8 b.addClass("smallnav"); 9 } else if(w.scrollTop() <= 120 && s) { 10 s = false; 11 b.removeClass("smallnav"); 12 } 13 }; 14 $(window).scroll(update); 15 update(); 16});
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.