Team:SYSU-Software/header
From 2013.igem.org
(Difference between revisions)
Nie1234567 (Talk | contribs) |
Nie1234567 (Talk | contribs) |
||
Line 89: | Line 89: | ||
- | if(url == " | + | if(url == "https://2013.igem.org/Team:SYSU-Software") |
{ | { | ||
$(".nav-li:first").addClass("active"); | $(".nav-li:first").addClass("active"); | ||
} | } | ||
- | else if((url == " | + | else if((url == "https://2013.igem.org/Team:SYSU-Software/overview") || (url == "https://2013.igem.org/Team:SYSU-Software/demo") || |
- | (url == " | + | (url == "https://2013.igem.org/Team:SYSU-Software/download") || (url == "https://2013.igem.org/Team:SYSU-Software/part1") || |
- | (url == " | + | (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 == " | + | 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 == " | + | 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 == " | + | 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 == " | + | 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