1$(".header").addClass("yanse"); 2$(".header").addClass("yanse01"); 3$(window).scroll(function(){ 4 var scrollTop = $(this).scrollTop(); 5 if($(this).scrollTop() ==0){ 6 $(".header").addClass("yanse"); 7 $(".header").addClass("yanse01"); 8 }else{ 9 $(".header").addClass("yanse"); 10 $(".header").removeClass("yanse01"); 11 } 12}); 13$(".icon_nav_item").click(function(){ 14 if($(this).parent().hasClass("hover")){ 15 $(this).parent().removeClass("hover"); 16 $(this).parent().find(".subnav").stop().slideToggle(); 17 }else{ 18 $(".menu .a").each(function(){ 19 if($(this).hasClass("hover")){ 20 $(this).removeClass("hover"); 21 $(this).find(".subnav").stop().slideToggle(); 22 } 23 }); 24 $(this).parent().addClass("hover"); 25 $(this).parent().find(".subnav").stop().slideToggle(); 26 } 27}); 28$(".menu_body").click(function(){ 29 if($(this).hasClass("show")){ 30 $(".menu").hide(); 31 $(this).removeClass("show"); 32 $("body").removeClass("menushow"); 33 $(".menu").removeClass("show"); 34 $(".header").removeClass("show"); 35 36 }else{ 37 $(".menu").show(); 38 $(this).addClass("show"); 39 $("body").addClass("menushow"); 40 $(".menu").addClass("show"); 41 $(".header").addClass("show"); 42 43 } 44}); 45if($(window).width()>768){ 46 $(".menu .hasmenu").hover(function() { 47 //$(".menubg").stop(true, true).slideToggle(500); 48 }); 49}
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.