Difference between revisions of "Template:Toulouse/nav"
Line 10: | Line 10: | ||
<nav id="mainav" class="fl_right"> | <nav id="mainav" class="fl_right"> | ||
<ul class="clear"> | <ul class="clear"> | ||
− | <li class="drop"><a href="https://2015.igem.org/Team:Toulouse | + | <li class="drop"><a href="https://2015.igem.org/Team:Toulouse"><b>Home</b></a></li> |
<li><a class="drop" href="#"><b>Team</b></a> | <li><a class="drop" href="#"><b>Team</b></a> | ||
Line 23: | Line 23: | ||
<li><a class="drop" href="#"><b>Project</b></a> | <li><a class="drop" href="#"><b>Project</b></a> | ||
<ul> | <ul> | ||
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/project/context">Context & Strategy</a></li> |
− | <li><a class="drop" href="https://2015.igem.org/Team:Toulouse/ | + | <li><a class="drop" href="https://2015.igem.org/Team:Toulouse/project/regulation">Regulation</a></li> |
− | <li><a class="drop" href="https://2015.igem.org/Team:Toulouse/ | + | <li><a class="drop" href="https://2015.igem.org/Team:Toulouse/project/attract">Attract</a></li> |
− | <li><a class="drop" href="https://2015.igem.org/Team:Toulouse/ | + | <li><a class="drop" href="https://2015.igem.org/Team:Toulouse/project/eradicate">Eradicate</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
Line 32: | Line 32: | ||
<li><a class="drop" href="#"><b>Achievements</b></a> | <li><a class="drop" href="#"><b>Achievements</b></a> | ||
<ul> | <ul> | ||
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/achievements/results">Results</a></li> |
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/achievements/modeling">Modeling</a></li> |
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/achievements/biobricks">Biobricks</a></li> |
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/achievements/discussion">Discussion</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
Line 41: | Line 41: | ||
<li><a class="drop" href="#"><b>Issues</b></a> | <li><a class="drop" href="#"><b>Issues</b></a> | ||
<ul> | <ul> | ||
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/ethics/ethics">Ethics</a></li> |
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/ethics/safety">Safety</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
Line 70: | Line 70: | ||
//set active slot | //set active slot | ||
+ | |||
+ | var activeColor = "color:rgb(118, 119, 48);"; | ||
if (myurl.search("test") != -1){ | if (myurl.search("test") != -1){ | ||
− | document.getElementById('notebook').style = " | + | document.getElementById('notebook').style = activeColor;} |
− | } | + | |
+ | else { | ||
+ | if (myurl.search("HP") != -1 ) { | ||
+ | document.getElementById('HP').style = activeColor;} | ||
+ | |||
+ | else{ | ||
+ | if (myurl.search("ethics") != -1){ | ||
+ | document.getElementById('ethics').style = activeColor;} | ||
+ | } | ||
+ | |||
+ | else{ | ||
+ | if (myurl.search("achievements")!= -1){ | ||
+ | document.getElementById('achievements').style = activeColor;} | ||
+ | } | ||
+ | else{ | ||
+ | if (myurl.search("project")!= -1){ | ||
+ | document.getElementById('project').style = activeColor;} | ||
+ | } | ||
+ | else{ | ||
+ | if (myurl.search("members")!= -1){ | ||
+ | document.getElementById('members').style = activeColor;} | ||
+ | } | ||
+ | } | ||
</script> | </script> | ||
Revision as of 07:46, 4 August 2015