1jQuery(window).on("load", function() { 2 if(jQuery("#yt_menuwrap")){ 3 offset_top = jQuery("#yt_menuwrap").offset().top 4 processScroll("#yt_menuwrap", "menu-fixed", offset_top); 5 jQuery(window).scroll(function(){ 6 processScroll("#yt_menuwrap", "menu-fixed", offset_top); 7 }); 8 } 9}); 10 11function processScroll(element, eclass, offset_top) { 12 var scrollTop = jQuery(window).scrollTop(); 13 if(jQuery(element).height()< jQuery(window).height()){ 14 if (scrollTop >= offset_top) { 15 16 17 jQuery(element).addClass(eclass); 18 19 } else if (scrollTop <= offset_top) { 20 jQuery(element).removeClass(eclass); 21 22 } 23 24 } 25} 26
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.