Template:UpperTabs
From 2011.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
<li id="Team"><a href="https://2011.igem.org/Team:Warsaw/Team">Team and Sponsors</a></li> | <li id="Team"><a href="https://2011.igem.org/Team:Warsaw/Team">Team and Sponsors</a></li> | ||
<li id="Project"><a href="https://2011.igem.org/Team:Warsaw/Project">Project</a></li> | <li id="Project"><a href="https://2011.igem.org/Team:Warsaw/Project">Project</a></li> | ||
- | |||
<li id="RBSmeasurement"><a href="https://2011.igem.org/Team:Warsaw/RBSmeasurement">RBS measurement</a></li> | <li id="RBSmeasurement"><a href="https://2011.igem.org/Team:Warsaw/RBSmeasurement">RBS measurement</a></li> | ||
<li id="ExpressionAdaptors"><a href="https://2011.igem.org/Team:Warsaw/ExpressionAdaptors">Expression Adaptors</a></li> | <li id="ExpressionAdaptors"><a href="https://2011.igem.org/Team:Warsaw/ExpressionAdaptors">Expression Adaptors</a></li> | ||
- | <li id="Software"><a href="https://2011.igem.org/Team:Warsaw/Software">Software</a></li> | + | <li id="SyntheticCloning"><a href="https://2011.igem.org/Team:Warsaw/Synthetic Cloning">Synthetic Cloning</a></li> |
+ | <li id="Software"><a href="https://2011.igem.org/Team:Warsaw/Software">Software</a></li> | ||
<li id="Parts"><a href="https://2011.igem.org/Team:Warsaw/Parts">Parts</a></li> | <li id="Parts"><a href="https://2011.igem.org/Team:Warsaw/Parts">Parts</a></li> | ||
<li id="HP"><a href="https://2011.igem.org/Team:Warsaw/HP" >Human Practices</a></li> | <li id="HP"><a href="https://2011.igem.org/Team:Warsaw/HP" >Human Practices</a></li> | ||
Line 21: | Line 21: | ||
function ChangeUpperTab(ActiveTab, string) { | function ChangeUpperTab(ActiveTab, string) { | ||
- | + | ||
- | + | ||
- | + | ||
if (ActiveTab=='Project'){ | if (ActiveTab=='Project'){ | ||
document.getElementById('Project').innerHTML="<span>Project</span>"; | document.getElementById('Project').innerHTML="<span>Project</span>"; | ||
} | } | ||
- | if (ActiveTab==' | + | if (ActiveTab=='SyntheticCloning'){ |
- | document.getElementById(' | + | document.getElementById('SyntheticCloning').innerHTML="<span style='width:auto;'>Synthetic Cloning</span>"; |
} | } | ||
+ | |||
+ | if (ActiveTab=='RBSmeasurement'){ | ||
+ | document.getElementById('RBSmeasurement').innerHTML="<span style='width:auto;'>RBS measurement;</span>"; | ||
+ | } | ||
+ | |||
if (ActiveTab=='ExpressionAdaptors'){ | if (ActiveTab=='ExpressionAdaptors'){ | ||
document.getElementById('ExpressionAdaptors').innerHTML="<span>Expression Adaptors</span>"; | document.getElementById('ExpressionAdaptors').innerHTML="<span>Expression Adaptors</span>"; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
if (ActiveTab=='Parts'){ | if (ActiveTab=='Parts'){ | ||
document.getElementById('Parts').innerHTML="<span>Parts</span>"; | document.getElementById('Parts').innerHTML="<span>Parts</span>"; | ||
Line 51: | Line 49: | ||
if (ActiveTab=='Team'){ | if (ActiveTab=='Team'){ | ||
document.getElementById('Team').innerHTML="<span>Team and Sponsors</span>"; | document.getElementById('Team').innerHTML="<span>Team and Sponsors</span>"; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } |
Revision as of 16:10, 17 September 2011