Template:UpperTabs
From 2011.igem.org
(Difference between revisions)
(14 intermediate revisions not shown) | |||
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/SyntheticCloning">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" > | + | <li id="HP"><a href="https://2011.igem.org/Team:Warsaw/HP" style='width:auto;'> HP </a></li> |
- | <li id="Safe"><a href="https://2011.igem.org/Team:Warsaw/ | + | <li id="Safe"><a href="https://2011.igem.org/Team:Warsaw/Safety" style='width:auto;'> Safety </a></li> |
</ul> | </ul> | ||
</div> | </div> | ||
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>Synthetic Cloning</span>"; |
} | } | ||
+ | |||
+ | if (ActiveTab=='RBSmeasurement'){ | ||
+ | document.getElementById('RBSmeasurement').innerHTML="<span>RBS measurement;</span>"; | ||
+ | } | ||
+ | |||
if (ActiveTab=='ExpressionAdaptors'){ | if (ActiveTab=='ExpressionAdaptors'){ | ||
- | document.getElementById('ExpressionAdaptors').innerHTML="<span>Expression | + | 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 46: | Line 44: | ||
} | } | ||
if (ActiveTab=='HP'){ | if (ActiveTab=='HP'){ | ||
- | document.getElementById('HP').innerHTML="<span style='width:auto;'> | + | document.getElementById('HP').innerHTML="<span style='width:auto;'>HP</span>"; |
} | } | ||
if (ActiveTab=='Team'){ | if (ActiveTab=='Team'){ | ||
document.getElementById('Team').innerHTML="<span>Team and Sponsors</span>"; | document.getElementById('Team').innerHTML="<span>Team and Sponsors</span>"; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
if (ActiveTab=='Safe'){ | if (ActiveTab=='Safe'){ | ||
- | document.getElementById('Safe').innerHTML="<span>Safety</span>"; | + | document.getElementById('Safe').innerHTML="<span style='width:auto;'>Safety</span>"; |
} | } |
Latest revision as of 21:25, 17 September 2011