1$(document).ready(function (){ 2 mobile_open = false; 3 $("#mobile-burger").on("click", function (){ 4 if(!mobile_open){ 5 mobile_open = true; 6 $("#mobile-menu").show(500); 7 }else{ 8 $("#mobile-menu").hide(500); 9 mobile_open = false; 10 } 11 }); 12 $(window).on("scroll", function () { 13 if($(window).width()<990){ 14 var scroll = $(window).scrollTop(); 15 fix_height = $(".header-row").height() 16 if(scroll>fix_height){ 17 $(".header-row").css({"position":"fixed", "z-index":"1000", "width":"100%", "top": 0}) 18 $("#mobile-menu").css({"position":"fixed", "z-index":"1000", "width":"100%", "top":fix_height+20}) 19 }else{ 20 $(".header-row").css({"position":"unset", "z-index":"1000", "width":"auto"}) 21 $("#mobile-menu").css({"position":"unset", "z-index":"1000", "width":"auto"}) 22 } 23 } 24 }) 25 $(window).on("resize", function () { 26 if($(window).width()>990){ 27 $(".header-row").css({"position":"unset", "z-index":"1000", "width":"auto"}) 28 $("#mobile-menu").css({"position":"unset", "z-index":"1000", "width":"auto"}) 29 } 30 }) 31 $("#mobile-menu .mobile-menu-link").on("click", function (){ 32 if($(this).hasClass("active")){ 33 $(this).removeClass("active"); 34 }else{ 35 $(".mobile-menu-link").removeClass("active"); 36 $(this).addClass("active"); 37 } 38 id = $(this).attr("id"); 39 number = id.slice(-1); 40 $(".mobile-menu-column").hide(500) 41 if($("#mobile_column_"+number).css("display") == "block"){ 42 $(".mobile-menu-column").hide(500) 43 }else{ 44 $("#mobile_column_"+number).show(500) 45 } 46 }); 47 $(window).on("resize", function (){ 48 if($(window).width()>990){ 49 $("#mobile-menu").hide(500); 50 mobile_open = false; 51 } 52 }) 53})
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.