1//å¾çæ»å¨åæ¢ 2var t = n = 0, count = $(".content2 a").size(); 3$(function(){ 4 var play = ".play"; 5 var playText = ".play .text"; 6 var playNum = ".play .num a"; 7 var playConcent = ".play .content2 a"; 8 9 $(playConcent + ":not(:first)").hide(); 10 11 $(playText).attr("title",$(playConcent + ":first").find("img").attr("alt")); 12 $(playText).html($(playConcent + ":first").find("img").attr("alt")); 13 14 15 16 $(playNum + ":first").addClass("on"); 17 $(playText).click(function(){window.open($(playConcent + ":first").attr('href'), "_blank")}); 18 $(playNum).click(function() { 19 var i = $(".play .num a").index(this); 20 n = i; 21 if (i >= count) return; 22 $(playText).html($(playConcent).eq(i).find("img").attr('alt')); 23 24 $(playText).attr("title",$(playConcent).eq(i).find("img").attr('alt')); 25 26 $(playText).unbind().click(function(){window.open($(playConcent).eq(i).attr('href'), "_blank")}) 27 $(playConcent).filter(":visible").hide().parent().children().eq(i).fadeIn(1200); 28 $(this).removeClass("on").siblings().removeClass("on"); 29 $(this).removeClass("on2").siblings().removeClass("on2"); 30 $(this).addClass("on").siblings().addClass("on2"); 31 }); 32 t = setInterval("showAuto()", 5000); 33 $(play).hover(function(){clearInterval(t)}, function(){t = setInterval("showAuto()", 5000);}); 34}) 35function showAuto(){ 36 n = n >= (count - 1) ? 0 : ++n; 37 $(".num a").eq(n).trigger('click'); 38} 39 40//tabéé¡¹å¡ 41function setTab(name,num,n){ 42 var i=1; 43 if(n>4) { 44 i=5; 45 } 46 for(i;i<=n;i++){ 47 var menu=document.getElementById(name+i); 48 var con=document.getElementById(name+"_"+"con"+i); 49 if(n<=4){ 50menu.className=i==num?"now":""; 51} 52else{ 53 menu.className=i==num?"now2":"";} 54 con.style.display=i==num?"block":"none"; 55 } 56} 57 58//æé£ç´æå ææ 59$(document).ready(function(){ 60 61 $(".handle").click(function(){ 62 if(!$(this).siblings(".slide").is(":visible")){ 63 $(this).children(".rotate").addClass("rotate-on"); 64 $(this).siblings(".slide").animate({width:"show"},600); 65 $(this).parent().siblings().children(".slide").animate({width:"hide"},600); 66 $(this).parent().siblings().children(".handle").children(".rotate").removeClass("rotate-on"); 67 } 68 69 }) 70}) 71 72// å¤´é¨ 73$(".nav p").each(function(){ 74 if($(this).text()==$(".gl-r-head a").eq(1).text()){ 75 $(this).parents("li").addClass("only"); 76 $(this).parents("li").siblings("li").removeClass("only"); 77 } 78}) 79//äºçº§éä¸ 80$(".gl a").each(function(){ 81 if($(this).text()==$(".gl-r-head a").eq(2).text()){ 82 $(this).parents(".gl").addClass("gl-on"); 83 } 84}) 85//ä¸çº§éä¸ 86$(".jlry-hj a").each(function(){ 87 if($(this).text()==$(".gl-r-head a").eq(3).text()){ 88 console.log($(this).parents("li")) 89 $(this).addClass("jlry-hj-on"); 90 } 91}) 92 93 94$(function(){ 95//åºé¨è½®æ 96jQuery(".con3").slide({mainCell:".bd ul",autoPage:true,pnLoop:true,effect:"left",autoPlay:true,vis:6}); 97 if($(".con3-img").length<=6){ 98 $(".prev").css("display","none"); 99 $(".next").css("display","none"); 100 } 101})
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.