1window.addEvent ("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, column, offset_end) { 12 var scrollTop = jQuery(window).scrollTop(); 13 if(jQuery(element).height()< jQuery(window).height()){ 14 if (scrollTop >= offset_top) { 15 jQuery(element).addClass(eclass); 16 } else if (scrollTop <= offset_top) { 17 jQuery(element).removeClass(eclass); 18 } 19 if(column){ 20 if(scrollTop + jQuery(element).height() > offset_end){ 21 jQuery(element).removeClass(eclass); 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.