1(function ($) { 2 3 "use strict"; 4 5 6 7 $(window).scroll(function () { 8 var pos = $(".header-bottom"); 9 var checkPos = pos.position(); 10 if(checkPos!=undefined){ 11 pos = checkPos.top; 12 var windowpos = $(window).scrollTop(); 13 if (windowpos >= pos + 90) { 14 $(".main-menu-section").addClass("stick"); 15 //$(".main-menu-section .submenu").css("display", "none"); 16 17 } 18 else { 19 $(".main-menu-section").removeClass("stick"); 20 //$(".menu-fix-all .submenu").css("display", "none"); 21 22 23 } 24 if (windowpos < 1) { 25 $(".main-menu-section").removeClass("stick"); 26 //$(".menu-fix-all .submenu").css("display", "none"); 27 28 } 29 } 30 }); 31 32 33})(jQuery);
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.