1jQuery(document).ready(function($){ 2 var stickyNavTop = jQuery('#header-wrapper').offset().top; 3 4 var stickyNav = function(){ 5 var scrollTop = jQuery(window).scrollTop(); 6 7 if (scrollTop > stickyNavTop) { 8 jQuery('#header-wrapper').addClass('sticky'); 9 var headerheight = jQuery("#header-wrapper").height(); 10 jQuery("#header-wrapper").addClass('sticky'); 11 jQuery("#stickyPadder").css({'display':'block', 'height':headerheight}); 12 } else { 13 jQuery('#header-wrapper').removeClass('sticky'); 14 jQuery("#stickyPadder").css({'display':'none'}); 15 } 16 }; 17 18 stickyNav(); 19 20 $(window).scroll(function() { 21 stickyNav(); 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.