Difference between revisions of "Team:SSTi-SZGD/js/Awards"

(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...")
 
Line 2: Line 2:
 
 
 
$(document).attr("title","Awards - Team:SSTi-SZGD - 2018.igem.org");
 
$(document).attr("title","Awards - Team:SSTi-SZGD - 2018.igem.org");
 +
 +
//translation
 +
$(".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("奖牌");
 
}
 
}
 
 
 
 
});
 
});

Revision as of 15:34, 13 October 2018

$(function(){

$(document).attr("title","Awards - Team:SSTi-SZGD - 2018.igem.org");

//translation $(".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("奖牌"); }

});