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

m
(modify title)
Line 18: Line 18:
 
$(".page_nav ul li").eq(5).addClass("active");
 
$(".page_nav ul li").eq(5).addClass("active");
 
 
$(".page_title").text("Team");
+
if(window.location.search==""){
 +
$(".page_title").text("Team");
 +
}else{
 +
$(".page_title").text("团队");
 +
}
 
 
 
});
 
});

Revision as of 10:28, 6 August 2018

$(function(){

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

//Navigation $(".btn_nav .Team a").eq(0).addClass("active");

$(".Members ul").masonry({ itemSelector: '.item', gutterWidth: 5 });

$(".Members ul li").addClass("hvr-radial-in");

$(".Members ul").children().css("transition","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("团队"); }

});