(Created page with "→nav: $(function(){ $(".header .nav .mainnav").eq(1).hover(function(){ $(".header .nav .Team span").css({"border-top":" 4px solid #FAEE0D","color": "#FAEE0D"}); $(".h...") |
YuhangYang (Talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
$(".header .nav .mainnav").eq(1).hover(function(){ | $(".header .nav .mainnav").eq(1).hover(function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Project span").css("color","#FAEE0D"); |
− | $(".header .nav . | + | $(".header .nav .Project .unify").stop().slideDown(); |
},function(){ | },function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Project span").css("color","#fff"); |
− | $(".header .nav . | + | $(".header .nav .Project .unify").stop().slideUp(); |
}); | }); | ||
$(".header .nav .mainnav").eq(2).hover(function(){ | $(".header .nav .mainnav").eq(2).hover(function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Application span").css("color","#FAEE0D"); |
− | $(".header .nav . | + | $(".header .nav .Application .unify").stop().slideDown(); |
},function(){ | },function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Application span").css("color","#fff"); |
− | $(".header .nav . | + | $(".header .nav .Application .unify").stop().slideUp(); |
}); | }); | ||
$(".header .nav .mainnav").eq(3).hover(function(){ | $(".header .nav .mainnav").eq(3).hover(function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Human_Practices span").css("color","#FAEE0D"); |
− | $(".header .nav . | + | $(".header .nav .Human_Practices .unify").stop().slideDown(); |
},function(){ | },function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Human_Practices span").css("color","#fff"); |
− | $(".header .nav . | + | $(".header .nav .Human_Practices .unify").stop().slideUp(); |
}); | }); | ||
$(".header .nav .mainnav").eq(4).hover(function(){ | $(".header .nav .mainnav").eq(4).hover(function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Achievement span").css("color","#FAEE0D"); |
− | $(".header .nav . | + | $(".header .nav .Achievement .unify").stop().slideDown(); |
},function(){ | },function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Achievement span").css("color","#fff"); |
− | $(".header .nav . | + | $(".header .nav .Achievement .unify").stop().slideUp(); |
}); | }); | ||
$(".header .nav .mainnav").eq(5).hover(function(){ | $(".header .nav .mainnav").eq(5).hover(function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Team span").css("color","#FAEE0D"); |
− | $(".header .nav . | + | $(".header .nav .Team .unify").stop().slideDown(); |
},function(){ | },function(){ | ||
− | $(".header .nav . | + | $(".header .nav .Team span").css("color","#fff"); |
− | $(".header .nav . | + | $(".header .nav .Team .unify").stop().slideUp(); |
}); | }); | ||
}); | }); |
Latest revision as of 07:55, 23 October 2017
/*nav*/ $(function(){
$(".header .nav .mainnav").eq(1).hover(function(){ $(".header .nav .Project span").css("color","#FAEE0D"); $(".header .nav .Project .unify").stop().slideDown(); },function(){ $(".header .nav .Project span").css("color","#fff"); $(".header .nav .Project .unify").stop().slideUp(); });
$(".header .nav .mainnav").eq(2).hover(function(){ $(".header .nav .Application span").css("color","#FAEE0D"); $(".header .nav .Application .unify").stop().slideDown(); },function(){ $(".header .nav .Application span").css("color","#fff"); $(".header .nav .Application .unify").stop().slideUp(); });
$(".header .nav .mainnav").eq(3).hover(function(){ $(".header .nav .Human_Practices span").css("color","#FAEE0D"); $(".header .nav .Human_Practices .unify").stop().slideDown(); },function(){ $(".header .nav .Human_Practices span").css("color","#fff"); $(".header .nav .Human_Practices .unify").stop().slideUp(); });
$(".header .nav .mainnav").eq(4).hover(function(){ $(".header .nav .Achievement span").css("color","#FAEE0D"); $(".header .nav .Achievement .unify").stop().slideDown(); },function(){ $(".header .nav .Achievement span").css("color","#fff"); $(".header .nav .Achievement .unify").stop().slideUp(); });
$(".header .nav .mainnav").eq(5).hover(function(){ $(".header .nav .Team span").css("color","#FAEE0D"); $(".header .nav .Team .unify").stop().slideDown(); },function(){ $(".header .nav .Team span").css("color","#fff"); $(".header .nav .Team .unify").stop().slideUp(); });
});