Difference between revisions of "Template:Toulouse/nav"
Line 15: | Line 15: | ||
<li class="drop"><a href="https://2015.igem.org/Team:Toulouse"><b>Home</b></a></li> | <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="#" id="team"><b>Team</b></a> |
<ul> | <ul> | ||
<li><a href="https://2015.igem.org/Team:Toulouse/Team/members/Presentation">Presentation</a></li> | <li><a href="https://2015.igem.org/Team:Toulouse/Team/members/Presentation">Presentation</a></li> | ||
Line 24: | Line 24: | ||
</li> | </li> | ||
− | <li><a class="drop" href="#"><b>Project</b></a> | + | <li><a class="drop" href="#" id="project"><b>Project</b></a> |
<ul> | <ul> | ||
<li><a href="https://2015.igem.org/Team:Toulouse/project/context">Context & Strategy</a></li> | <li><a href="https://2015.igem.org/Team:Toulouse/project/context">Context & Strategy</a></li> | ||
Line 33: | Line 33: | ||
</li> | </li> | ||
− | <li><a class="drop" href="#"><b>Achievements</b></a> | + | <li><a class="drop" href="#" id="achiev"><b>Achievements</b></a> |
<ul> | <ul> | ||
<li><a href="https://2015.igem.org/Team:Toulouse/achievements/results">Results</a></li> | <li><a href="https://2015.igem.org/Team:Toulouse/achievements/results">Results</a></li> | ||
Line 42: | Line 42: | ||
</li> | </li> | ||
− | <li><a class="drop" href="#"><b>Issues</b></a> | + | <li><a class="drop" href="#" id="ethics"><b>Issues</b></a> |
<ul> | <ul> | ||
<li><a href="https://2015.igem.org/Team:Toulouse/ethics/ethics">Ethics</a></li> | <li><a href="https://2015.igem.org/Team:Toulouse/ethics/ethics">Ethics</a></li> | ||
Line 49: | Line 49: | ||
</li> | </li> | ||
− | <li><a class="drop" href="#"><b>Human Practice</b></a> | + | <li><a class="drop" href="#" id="hp"><b>Human Practice</b></a> |
<ul> | <ul> | ||
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/hp/meetups">Meetups</a></li> |
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/hp/collaborations">Collaborations</a></li> |
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/hp/press">Press</a></li> |
− | <li><a href="https://2015.igem.org/Team:Toulouse/ | + | <li><a href="https://2015.igem.org/Team:Toulouse/hp/awareness">Raising awareness</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
Line 79: | Line 79: | ||
var activeColor = 'color:rgb(153, 51, 51);'; | var activeColor = 'color:rgb(153, 51, 51);'; | ||
− | if (myurl.search(" | + | if (myurl.search("notebook") != -1){ |
document.getElementById('notebook').style = activeColor;} | document.getElementById('notebook').style = activeColor;} | ||
+ | |||
+ | if (myurl.search("hp") != -1){ | ||
+ | document.getElementById('hp').style = activeColor;} | ||
+ | |||
+ | if (myurl.search("ethics") != -1){ | ||
+ | document.getElementById('ethics').style = activeColor;} | ||
+ | |||
+ | if (myurl.search("achievements") != -1){ | ||
+ | document.getElementById('achiev').style = activeColor;} | ||
+ | |||
+ | if (myurl.search("members") != -1){ | ||
+ | document.getElementById('team').style = activeColor;} | ||
+ | |||
+ | if (myurl.search("project") != -1){ | ||
+ | document.getElementById('project').style = activeColor;} | ||
</script> | </script> |
Revision as of 08:08, 4 August 2015