Team:SSTi-SZGD/js/Team

$(function(){

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

//Navigation $(".btn_nav .Acknowledgements a").eq(0).addClass("active"); $(".sub_nav li.Acknowledgements a").eq(0).addClass("active");

$(".Members .introduction li .img").hover(function(){ $(this).find("img:nth-of-type(1)").css("display","none"); $(this).find("img:nth-of-type(2)").css("display","block"); },function(){ $(this).find("img:nth-of-type(1)").css("display","block"); $(this).find("img:nth-of-type(2)").css("display","none"); });


$(".page_nav ul li").removeClass("active"); $(".page_nav ul li").eq(5).addClass("active");

if(window.location.search==""){ $(".page_title").text("Team"); }else{ $(".page_title").text("团队"); }

});