Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
array = document.getElementById(id).getElementsByTagName("span"); | array = document.getElementById(id).getElementsByTagName("span"); | ||
for (var i = 0; i < array.length; i++){ | for (var i = 0; i < array.length; i++){ | ||
- | array[i].style.display=" | + | array[i].style.display="block"; |
} | } | ||
alert('da'); | alert('da'); | ||
Line 286: | Line 286: | ||
.blue { | .blue { | ||
color:#0CA5B0; | color:#0CA5B0; | ||
+ | } | ||
+ | .blueSelect { | ||
+ | color:#0CA5B0; | ||
+ | display:none; | ||
} | } | ||
.unselected{ | .unselected{ | ||
Line 309: | Line 313: | ||
<div id=navigation style="width: 150px; float:left"> | <div id=navigation style="width: 150px; float:left"> | ||
<ul> | <ul> | ||
- | <li><a id="home" href="https://2011.igem.org/Team:Freiburg/test" display="block" onclick="hideSubmenu('none')"><span class=" | + | <li><a id="home" href="https://2011.igem.org/Team:Freiburg/test" display="block" onclick="hideSubmenu('none')"><span class="blueSelect"> < </span>home<span class="blueSelect" display="none"> > </span></a> |
</li> | </li> | ||
- | <li><a id="team" href="#" display="block" onclick="hideSubmenu('sub-team')"><span class=" | + | <li><a id="team" href="#" display="block" onclick="hideSubmenu('sub-team')"><span class="blueSelect"> < </span>team<span class="blueSelect"> > </span></a> |
<ul class="sub2" id="sub-team" display="none"> | <ul class="sub2" id="sub-team" display="none"> | ||
<li class="sub2"><a href="#"> <span class="blue"> → </span>members</a></li> | <li class="sub2"><a href="#"> <span class="blue"> → </span>members</a></li> | ||
Line 318: | Line 322: | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li><a id="project" href="https://2011.igem.org/Team:Freiburg/Project" display="block" onclick="hideSubmenu('sub-project')"><span class=" | + | <li><a id="project" href="https://2011.igem.org/Team:Freiburg/Project" display="block" onclick="hideSubmenu('sub-project')"><span class="blueSelect"> < </span>project<span class="blueSelect"> > </span></a> |
<ul class="sub2" id="sub-project" display="none"> | <ul class="sub2" id="sub-project" display="none"> | ||
<li class="sub2"><a href="#"><span class="blue"> → </span>overview</a></li> | <li class="sub2"><a href="#"><span class="blue"> → </span>overview</a></li> | ||
Line 328: | Line 332: | ||
<li class="sub2"><a href="#"><span class="blue"> → </span>safety</a></li> | <li class="sub2"><a href="#"><span class="blue"> → </span>safety</a></li> | ||
</ul> </li> | </ul> </li> | ||
- | <li><a id="gallery" href="# | + | <li><a id="gallery" href="#" onclick="hideSubmenu('none')"><span class="blueSelect"> < </span>gallery<span class="blue" display="none"> > </span></a> </li> |
- | <li><a id="sponsors" href="https://2011.igem.org/Team:Freiburg/Sponsors" display="block" onclick="hideSubmenu('none')"><span class=" | + | <li><a id="sponsors" href="https://2011.igem.org/Team:Freiburg/Sponsors" display="block" onclick="hideSubmenu('none')"><span class="blueSelect"> < </span>sponsors<span class="blueSelect"> > </span></a> </li> |
</ul> | </ul> | ||
</div> | </div> | ||
<div id=noNavigationContent> | <div id=noNavigationContent> | ||
</html> | </html> |
Revision as of 19:14, 3 July 2011