Team:SYSU-Software/header

From 2013.igem.org

(Difference between revisions)
Line 89: Line 89:
-
if(url == "http://localhost/wiki/index.html")
+
if(url == "https://2013.igem.org/Team:SYSU-Software")
{
{
$(".nav-li:first").addClass("active");
$(".nav-li:first").addClass("active");
}
}
-
else if((url == "http://localhost/wiki/overview.html") || (url == "http://localhost/wiki/demo.html") ||
+
else if((url == "https://2013.igem.org/Team:SYSU-Software/overview") || (url == "https://2013.igem.org/Team:SYSU-Software/demo") ||
-
(url == "http://localhost/wiki/download.html") || (url == "http://localhost/wiki/part1.html") ||
+
(url == "https://2013.igem.org/Team:SYSU-Software/download") || (url == "https://2013.igem.org/Team:SYSU-Software/part1") ||
-
(url == "http://localhost/wiki/part2.html") || (url == "http://localhost/wiki/part3.html"))
+
(url == "https://2013.igem.org/Team:SYSU-Software/part2") || (url == "https://2013.igem.org/Team:SYSU-Software/part3"))
$(".nav-li:eq(1)").addClass("active");
$(".nav-li:eq(1)").addClass("active");
-
else if((url == "http://localhost/wiki/model.html") || (url == "http://localhost/wiki/notebook.html"))
+
else if((url == "https://2013.igem.org/Team:SYSU-Software/model") || (url == "https://2013.igem.org/Team:SYSU-Software/notebook"))
$(".nav-li:eq(2)").addClass("active");
$(".nav-li:eq(2)").addClass("active");
-
else if((url == "http://localhost/wiki/require.html"))
+
else if((url == "https://2013.igem.org/Team:SYSU-Software/require"))
$(".nav-li:eq(3)").addClass("active");
$(".nav-li:eq(3)").addClass("active");
-
else if((url == "http://localhost/wiki/humanpra.html"))
+
else if((url == "https://2013.igem.org/Team:SYSU-Software/humanpra"))
$(".nav-li:eq(4)").addClass("active");
$(".nav-li:eq(4)").addClass("active");
-
else if((url == "http://localhost/wiki/team.html"))
+
else if((url == "https://2013.igem.org/Team:SYSU-Software/team"))
$(".nav-li:eq(5)").addClass("active");
$(".nav-li:eq(5)").addClass("active");
</script>
</script>

Revision as of 03:48, 28 April 2013

Team:SYSU-Software new