Template:WarHead1
From 2009.igem.org
(Difference between revisions)
Line 604: | Line 604: | ||
document.getElementById('firstHeading').innerHTML=" "; | document.getElementById('firstHeading').innerHTML=" "; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 627: | Line 622: | ||
<li class="main" onClick="switchMenu('team_submenu')"><a name="team">The Team</a> | <li class="main" onClick="switchMenu('team_submenu')"><a name="team">The Team</a> | ||
</li></html> | </li></html> | ||
+ | <html> | ||
+ | <script> | ||
+ | var s = document.location.pathname; | ||
+ | document.write (s); | ||
+ | if (s=="/Team:Warsaw/Team") { | ||
+ | document.getElementById('team_submenu').style.display='block'; | ||
+ | } | ||
+ | else {document.write(s);}; | ||
+ | </script> | ||
+ | </html> | ||
<div name="menu_item" id="team_submenu" style="display: none"> | <div name="menu_item" id="team_submenu" style="display: none"> | ||
<li class="sub">[[Team:Warsaw/Team|About us]] | <li class="sub">[[Team:Warsaw/Team|About us]] |
Revision as of 13:33, 14 October 2009