Template:UpperTabs
From 2010.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
<div id="tabs"> | <div id="tabs"> | ||
<ul> | <ul> | ||
- | <li id="Home"><a href="https://2010.igem.org/Team:Warsaw/Test">Home</a></li> | + | <li id="Home"><a href="https://2010.igem.org/Team:Warsaw/Test">Home</a></li> |
- | <li id=" | + | <li id="Project"><a href="https://2010.igem.org/Team:Warsaw/Project">Project</a></li> |
- | <li id=" | + | <li id="Stage1"><a href="https://2010.igem.org/Team:Warsaw/Stage1">Stage 1</a></li> |
- | <li id=" | + | <li id="Stage2"><a href="https://2010.igem.org/Team:Warsaw/Stage2">Stage 2</a></li> |
- | <li id=" | + | <li id="Stage3"><a href="https://2010.igem.org/Team:Warsaw/Stage3">Stage 3</a></li> |
- | <li id=" | + | <li id="Stage4"><a href="https://2010.igem.org/Team:Warsaw/Stage4">Stage 4</a></li> |
- | <li id="Software"><a href="https://2010.igem.org/Team:Warsaw/ | + | <li id="WetLab"><a href="https://2010.igem.org/Team:Warsaw/WetLab">Wet Lab</a></li> |
- | <li id=" | + | <li id="Software"><a href="https://2010.igem.org/Team:Warsaw/Software">Software</a></li> |
- | + | <li id="HP"><a href="https://2010.igem.org/Team:Warsaw/HP">HP</a></li> | |
- | + | ||
</ul> | </ul> | ||
Line 24: | Line 23: | ||
function ChangeUpperTab(ActiveTab, string) { | function ChangeUpperTab(ActiveTab, string) { | ||
- | + | ||
- | + | ||
- | + | ||
if (ActiveTab=='Home'){ | if (ActiveTab=='Home'){ | ||
document.getElementById('Home').innerHTML="<span>Home</span>"; | document.getElementById('Home').innerHTML="<span>Home</span>"; | ||
Line 33: | Line 30: | ||
document.getElementById('Project').innerHTML="<span>Theory</span>"; | document.getElementById('Project').innerHTML="<span>Theory</span>"; | ||
} | } | ||
- | if (ActiveTab==' | + | if (ActiveTab=='Stage1'){ |
- | document.getElementById(' | + | document.getElementById('Stage1').innerHTML="<span>RBS measurement</span>"; |
+ | } | ||
+ | if (ActiveTab=='Stage2'){ | ||
+ | document.getElementById('Stage2').innerHTML="<span>Safety</span>"; | ||
+ | } | ||
+ | if (ActiveTab=='Stage3'){ | ||
+ | document.getElementById('Stage3').innerHTML="<span>BactoDHL</span>"; | ||
} | } | ||
- | if (ActiveTab==' | + | if (ActiveTab=='Stage4'){ |
- | document.getElementById(' | + | document.getElementById('Stage4').innerHTML="<span>ColiStainer</span>"; |
} | } | ||
if (ActiveTab=='LabWork'){ | if (ActiveTab=='LabWork'){ | ||
document.getElementById('LabWork').innerHTML="<span>Wet Lab</span>"; | document.getElementById('LabWork').innerHTML="<span>Wet Lab</span>"; | ||
} | } | ||
- | if (ActiveTab==' | + | if (ActiveTab=='HP'){ |
- | document.getElementById(' | + | document.getElementById('HP').innerHTML="<span>HP</span>"; |
} | } | ||
} | } |
Revision as of 10:04, 9 July 2010