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="AboutUs"><a href="https://2010.igem.org/Team:Warsaw/aboutus.html">About us</a></li>
+
           <li id="Project"><a href="https://2010.igem.org/Team:Warsaw/Project">Project</a></li>
-
           <li id="Project"><a href="https://2010.igem.org/Team:Warsaw/project">Theory</a></li>
+
          <li id="Stage1"><a href="https://2010.igem.org/Team:Warsaw/Stage1">Stage 1</a></li>
-
           <li id="Modeling"><a href="https://2010.igem.org/Team:Warsaw/modeling">Modeling</a></li>
+
           <li id="Stage2"><a href="https://2010.igem.org/Team:Warsaw/Stage2">Stage 2</a></li>
-
           <li id="Results"><a href="https://2010.igem.org/Team:Warsaw/results">Results</a></li>
+
           <li id="Stage3"><a href="https://2010.igem.org/Team:Warsaw/Stage3">Stage 3</a></li>
-
           <li id="LabWork"><a href="https://2010.igem.org/Team:Warsaw/labwork">Wet Lab</a></li>
+
           <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/software">Software</a></li>           
+
           <li id="WetLab"><a href="https://2010.igem.org/Team:Warsaw/WetLab">Wet Lab</a></li>
-
           <li id="ThankYou"><a href="https://2010.igem.org/Team:Warsaw/thankyou">Thank You</a></li>
+
           <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=='AboutUs'){
+
 
-
document.getElementById('AboutUs').innerHTML="<span>About us</span>";
+
-
}
+
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=='Modeling'){
+
if (ActiveTab=='Stage1'){
-
document.getElementById('Modeling').innerHTML="<span>Modeling</span>";
+
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=='Results'){
+
if (ActiveTab=='Stage4'){
-
document.getElementById('Results').innerHTML="<span>Results</span>";
+
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=='ThankYou'){
+
if (ActiveTab=='HP'){
-
document.getElementById('ThankYou').innerHTML="<span>Thank You</span>";
+
document.getElementById('HP').innerHTML="<span>HP</span>";
}
}
}
}

Revision as of 10:04, 9 July 2010