1//ç§»å¨ç«¯å¯¼èª 2 var w = $(window).width(); 3 if(w<=1100){ 4 $(".selectBut").click(function() { 5 $(".navm-box").toggleClass("act"); 6 $("body").toggleClass("navShow"); 7 if($(".selectBut").hasClass("hd1-aon1")) { 8 $(this).removeClass("hd1-aon1"); 9 } else { 10 $(this).addClass("hd1-aon1"); 11 } 12 }) 13 }; 14 $(window).resize(function() { 15 if(w<=1100){ 16 $(".selectBut").click(function() { 17 $(".navm-box").toggleClass("act"); 18 $("body").toggleClass("navShow"); 19 if($(".selectBut").hasClass("hd1-aon1")) { 20 $(this).removeClass("hd1-aon1"); 21 } else { 22 $(this).addClass("hd1-aon1"); 23 } 24 }) 25 }; 26 }); 27 $(".nav-wrap .icon-jia").click(function(){ 28 if($(this).parent().find("dl").is(":hidden")){ 29 $(this).parent().find("dl").show(500); 30 $(this).css("transform","rotate(180deg)") 31 }else{ 32 $(this).parent().find("dl").hide(500); 33 $(this).css("transform","rotate(0deg)") 34 35 } 36 }); 37 38//æç´¢ 39 $('.search').click(function(){ 40 $('.search_wrap').fadeIn(); 41 }); 42 $('.search_wrap .bck').click(function(){ 43 $('.search_wrap').fadeOut("slow"); 44 }); 45 46//å¯¼èª 47$('.nav ul li h3 a').each(function() { 48 var text = $(this).text(); 49 $(this).text('').append(function() { 50 var content = ''; 51 for (var i = 0; i < text.length; i++) { 52 content += '<span>' + text[i] + '</span>'; 53 } 54 return content; 55 }); 56}); 57 58//äºçº§å¯¼èª 59 $(".li_xlz").click(function(){ 60 $(this).parents(".main-left>ul>li").find(".navContent").slideToggle(300); 61 $(this).toggleClass("on").siblings().removeClass('on').find(".navContent").slideUp(); 62 }) 63 64//ç§»å¨ç«¯äºçº§å¯¼èª 65 $(".nav_menu").click(function(){ 66 $(this).parent(".lm-title").siblings(".nav-list").slideToggle(300); 67 $(this).toggleClass("on").siblings().removeClass('on'); 68 }) 69 70//è¡¨æ ¼èªéåº 71 $('.article p img').parents("p").addClass("con-img"); 72 $('.article table').addClass('active').wrap('<div style="overflow-x:auto"/>'); 73 74 75 76 77
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.