1$(function() { 2 updateMenu(); 3 4 $(window).scroll(function(e) { 5 updateMenu(); 6 }); 7 8 function updateMenu() { 9 var scrollPos = $(window).scrollTop(); 10 var navigation = $('.topbar'); 11 12 if (scrollPos === 0) { 13 navigation.css({marginTop: 20}); 14 } else if (scrollPos > 20) { 15 navigation.css({marginTop: 0}); 16 } else { 17 navigation.css({marginTop: 20-scrollPos}); 18 } 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.