1/*èç§ä¼ä¸ç½ç«ç³»ç»PHPç 2http://www.lankecms.com*/ 3 4$(document).ready(function(){ 5 //è¿åé¡¶é¨ 6 $("#gototop").click(function(){ 7 $("html,body").animate({scrollTop :0}, 800);return false; 8 }); 9 $("#gotocate").click(function(){ 10 $("html,body").animate({scrollTop:$("#categories").offset().top},800);return false; 11 }); 12 13 14 // æç´¢ 15 $("#small_search").click(function(){ 16 $("#topsearch").slideToggle(); 17 }); 18 19 if($(window).width()>768){ 20 //é¼ æ åè¿å°±å±å¼åèå 21 $('ul.nav li.dropdown').hover(function() { 22 $(this).find('.dropdown-menu').stop(true, true).slideDown(); 23 }, function() { 24 $(this).find('.dropdown-menu').stop(true, true).slideUp(); 25 }); 26 27 //scrollTop 28 // $(window).scroll(function(){ 29 // var scrolls = $(window).scrollTop() 30 // if (scrolls > 10) { 31 // $(".navbar").addClass("small-nav") 32 // }else{ 33 // $(".navbar").removeClass("small-nav") 34 // } 35 // }); 36 37 } 38 39 //左侧导èªèå 40 // if ($("#firstpane .menu_body:eq(0)").text().replace(/[\r\n ]/g,"").length>0) { 41 // $("#firstpane .menu_body:eq(0)").show().prev().html("-").prev().addClass("left_active"); 42 // }; 43 $("ul.menu_body").each(function(){ 44 if ($(this).text().replace(/[\r\n ]/g,"").length<=0) {$(this).prev().remove();} //廿span 45 }); 46 47 $("#firstpane span.menu_head").click(function(){ 48 var spanatt = $(this).next("ul.menu_body").css('display'); 49 if (spanatt == "block"){ 50 var spantext = "+"; 51 $(this).prev().removeClass("left_active"); 52 }else{ 53 var spantext = "-"; 54 $(this).prev().addClass("left_active"); 55 } 56 $(this).html(spantext).addClass("current").next("ul.menu_body").slideToggle(300).siblings("ul.menu_body"); 57 }); 58 59 60});
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.