Template:WarHead1
From 2009.igem.org
(Difference between revisions)
Line 577: | Line 577: | ||
name = typeof(name) != 'undefined' ? name : "menu_item"; | name = typeof(name) != 'undefined' ? name : "menu_item"; | ||
- | + | document.getElementById('team_submenu').style.display = "none"; | |
- | + | document.getElementById('project_submenu').style.display = "none"; | |
- | + | document.getElementById('modelling_submenu').style.display = "none"; | |
- | + | document.getElementById('lab_submenu').style.display = "none"; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
var el = document.getElementById(obj); | var el = document.getElementById(obj); | ||
Line 654: | Line 650: | ||
<li class="sub">[[Team:Warsaw/Modelling/Structural|Structural]] | <li class="sub">[[Team:Warsaw/Modelling/Structural|Structural]] | ||
<html></div></html> | <html></div></html> | ||
- | <html><li class="main" onClick="switchMenu('lab_submenu')"><a name="lab" style="cursor: hand; cursor: pointer;">Lab Work</a></li> | + | <html><li class="main" onClick="switchMenu('lab_submenu')"><a name="lab" style="cursor: hand; cursor: pointer;">Lab Work</a></li></html> |
- | <div name="menu_item" id="lab_submenu" style="display: {{{lab}}}" | + | <div class="switch" name="menu_item" id="lab_submenu" style="display: {{{lab}}}"> |
<li class="sub">[[Team:Warsaw/Notebook|Notebook]] | <li class="sub">[[Team:Warsaw/Notebook|Notebook]] | ||
<li class="sub">[[Team:Warsaw/protocols|Protocols]] | <li class="sub">[[Team:Warsaw/protocols|Protocols]] | ||
<li class="sub">[[Team:Warsaw/Resources|Resources]] | <li class="sub">[[Team:Warsaw/Resources|Resources]] | ||
- | + | </div> | |
<li class="main">[[Team:Warsaw/Parts|Submitted Parts]]</li> | <li class="main">[[Team:Warsaw/Parts|Submitted Parts]]</li> | ||
<li class="main">[[Team:Warsaw/Glossary|Glossary]]</li> | <li class="main">[[Team:Warsaw/Glossary|Glossary]]</li> |
Revision as of 10:19, 15 October 2009