1$(document).ready(function(){ 2 $(".section-menu").on("click", ".menu_btn", function(){ 3 $(this).hide(); 4 if($(this).hasClass("show_menu")) { 5 $(".close_menu").show(); 6 $(".section-menu .section-inner").show(); 7 } else { 8 $(".show_menu").show(); 9 $(".section-menu .section-inner").hide(); 10 } 11 }); 12 13 function menu_height() { 14 if($(window).width() <= 1024) { 15 $(".main-menu").height($(window).innerHeight() - $(".section-menu").outerHeight() -10); 16 } else { 17 $(".main-menu").css("height", "auto"); 18 } 19 } 20 menu_height(); 21 22 $(window).on( "resize", function() { 23 menu_height(); 24 }); 25 /* 26 $(".main-menu").on("click touch", "a", function(){ 27 menu_height(); 28 if(!$(this).hasClass("opened") && $(this).parent().find(".sub-menu").length > 0) { 29 $(this).first(".sub-menu").hide(); 30 $(".main-menu a").removeClass("opened"); 31 $(this).addClass("opened"); 32 $(this).first(".sub-menu").show(); 33 return false; 34 } 35 }); 36 */ 37});
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.