1 2 3$(document).ready(function() { 4 if($('div').is("#amegamenu")){ 5 var scrollHeight = $('#amegamenu').offset().top; 6 7 $(window).on('load resize scroll', function() { 8 var headerHeight = $('.header-top').outerHeight(); 9 if ($(window).width() >= 1024 && $(window).scrollTop() > scrollHeight) { 10 $('#amegamenu').addClass('fixed-menu'); 11 $('.fixed-menu-container').addClass('container'); 12 //$('.header-top-holder').css('height', headerHeight + 'px'); 13 } else { 14 $('#amegamenu').removeClass('fixed-menu'); 15 $('.fixed-menu-container').removeClass('container'); 16 //$('.header-top-holder').css('height', 'auto'); 17 } 18 }); 19 } 20}); 21
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.