YuhangYang (Talk | contribs) (Created page with "$(function(){ $(document).attr("title","Awards - Team:SSTi-SZGD - 2018.igem.org"); //Navigation $(".btn_nav .Human_Practices a").eq(2).addClass("active"); $(".page_n...") |
YuhangYang (Talk | contribs) m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
$(document).attr("title","Awards - Team:SSTi-SZGD - 2018.igem.org"); | $(document).attr("title","Awards - Team:SSTi-SZGD - 2018.igem.org"); | ||
+ | |||
+ | //add transition | ||
+ | $(".page_content").addClass("transition"); | ||
+ | $(".page_content").find("*").addClass("transition"); | ||
//Navigation | //Navigation | ||
$(".btn_nav .Human_Practices a").eq(2).addClass("active"); | $(".btn_nav .Human_Practices a").eq(2).addClass("active"); | ||
+ | $(".sub_nav li.Human_Practices a").eq(2).addClass("active"); | ||
$(".page_nav ul li").removeClass("active"); | $(".page_nav ul li").removeClass("active"); | ||
Line 14: | Line 19: | ||
$(".page_title").text("奖牌"); | $(".page_title").text("奖牌"); | ||
} | } | ||
− | |||
}); | }); |
Latest revision as of 00:22, 5 November 2018
$(function(){
$(document).attr("title","Awards - Team:SSTi-SZGD - 2018.igem.org");
//add transition $(".page_content").addClass("transition"); $(".page_content").find("*").addClass("transition");
//Navigation $(".btn_nav .Human_Practices a").eq(2).addClass("active"); $(".sub_nav li.Human_Practices a").eq(2).addClass("active");
$(".page_nav ul li").removeClass("active"); $(".page_nav ul li").eq(4).addClass("active");
if(window.location.search==""){ $(".page_title").text("Awards"); }else{ $(".page_title").text("奖牌"); }
});