1$(function(){ 2 $(".search-submit").click(function(event) { 3 $(this).removeAttr("name"); 4 /* Act on the event */ 5 event.preventDefault(); 6 var val = $.trim($(".search-title").val()); 7 if(val!==""){ 8 $(".wp-search").find("form").submit(); 9 10 }else{ 11 alert("请è¾å ¥å ³é®è¯"); 12 } 13 return false; 14 }); 15 16 /* å¯¼èª */ 17 $(".menu-item",".wp-menu").each(function(){ 18 $(this).mouseenter(function() { 19 $(".menu-link",this).addClass("hover"); 20 }); 21 $(this).mouseleave(function(){ 22 $(".menu-link",this).removeClass("hover"); 23 }); 24 }); 25 26 27 28 /*å¤å¶ä¸æ*/ 29 /* $(".navbox .wp_nav > .nav-item").each(function(index,val){ 30 $(this).find("a").removeAttr("title"); 31 var html = $(this).find(".sub-nav").html(); 32 $(".navlist").append("<div class='navlist-li navlist-li-"+index+"'></div>"); 33 $(".navlist").find(".navlist-li").eq(index).html(html); 34 $(".navlist").children(".navlist-li").find("ul").remove(); 35 }); 36 $(".navlist").append("<div class='clear'></div>"); 37 38 $(".navbar .nav-item").click(function(){ 39 $(".navlist").slideToggle("slow"); 40 return false; 41 }); */ 42 43 /*åªä½é¾æ¥*/ 44 $(".shares .share").each(function(){ 45 $(this).children("a").hover(function(){ 46 $(this).parent().find(".con").fadeIn(); 47 },function(){ 48 $(this).parent().find(".con").fadeOut(); 49 }); 50 }); 51 52 $(".goTop").on("click",function(){ 53 $("body,html").stop().animate({scrollTop:0}, 500); 54 }); 55 56 /*$("body,html").click(function(){ 57 $(".searchbox").animate({"width":"45px"}); 58 $(".searchbtn").stop(true,true).fadeIn(); 59 60 }); 61 62 $(".searchbtn").click(function(){ 63 $(this).stop(true,true).fadeOut(); 64 $(".searchbox").stop(true,true).animate({"width":"200px"}); 65 return false; 66 }); 67 $(".search-input").click(function(){ 68 return false; 69 });*/ 70});
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.