1// ç§»å¨å¯¼èª 2$(function () { 3 // wap å¯¼èª å±ç¤º 䏿 4 $(".menu").click(function () { 5 $(".m-nav").animate({ 6 "left": "0" 7 }, 300); 8 $(this).hide() 9 $(".close-menu").fadeIn(); 10 $("body").css("overflow", "hidden"); 11 }) 12 $(".close-menu").click(function () { 13 $(".close-menu").fadeOut() 14 $(".m-nav").animate({ 15 "left": "100%" 16 }, 300); 17 $(".menu").fadeIn(); 18 $("body").css("overflow", "auto"); 19 }) 20 $(".m-nav>ul>li>span").click(function () { 21 $(this).toggleClass("on").parent().siblings("li").find("span").removeClass("on") 22 $(this).siblings("ul").slideToggle().parent().siblings("li").find("ul").slideUp() 23 }) 24 25 26 27 28 29 30 // ç§»å¨ç«¯å¯¼èª äºçº§å¯¼èªå±å¼å ³é 31 $(".leftNav>h2 span").click(function () { 32 $(this).toggleClass("on"); 33 $(".leftNav>ul").stop().slideToggle(); 34 }) 35 36 // äºçº§é¡µé¢ ç§»å¨ç«¯å·¦ä¾§ä¸çº§å¯¼èª å±ç¤º 37 $(".leftNav>ul>li>span").click(function () { 38 $(this).parent().stop().toggleClass("on").siblings("li").removeClass("on"); 39 $(this).siblings("ul").stop().slideToggle(300).parent().siblings().find("ul").stop().slideUp(); 40 }) 41 42 43}) 44 45
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.