Template:UpperTabs

From 2010.igem.org

(Difference between revisions)
 
(80 intermediate revisions not shown)
Line 2: Line 2:
<body>
<body>
-
 
-
<div id="topbar"><a href="tabs.html">iGEM Warsaw Team</a></div>
 
<div id="tabs">
<div id="tabs">
<ul>
<ul>
-
           <li id="Home"><a href="home.html">Home</a></li>
+
           <li id="Home"><a href="https://2010.igem.org/Team:Warsaw">Main</a></li>      
-
           <li id="Team"><a href="team">Team</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/wiki/index.php?title=Team:Warsaw/project">Project</a></li>
+
           <li id="Stage1"><a href="https://2010.igem.org/Team:Warsaw/Stage1"
-
           <li id="Modeling"><a href="https://2010.igem.org/wiki/index.php?title=Team:Warsaw/modeling">Modeling</a></li>
+
                          onmouseover='this.innerHTML="ExpressIt!"' onmouseout='this.innerHTML="Stage 1"' >Stage 1</a></li>
-
           <li id="Results"><a href="https://2010.igem.org/wiki/index.php?title=Team:Warsaw/results">Results</a></li>
+
          <li id="Stage2"><a href="https://2010.igem.org/Team:Warsaw/Stage2"  
-
           <li id="LabWork"><a href="https://2010.igem.org/wiki/index.php?title=Team:Warsaw/labwork">Lab Work</a></li>
+
                          onmouseover='this.innerHTML="Kill&nbsp;Switch"' onmouseout='this.innerHTML="Stage 2"'>Stage 2</a></li>
-
         
+
           <li id="Stage3"><a href="https://2010.igem.org/Team:Warsaw/Stage3"
-
           <li id="ThankYou"><a href="contactus.html">Thank you</a></li>
+
                          onmouseover='this.innerHTML="BactoDHL"' onmouseout='this.innerHTML="Stage 3"'>Stage 3</a></li>
-
 
+
        <!--  <li id="Stage4"><a href="https://2010.igem.org/Team:Warsaw/Stage4"
-
 
+
                          onmouseover='this.innerHTML="ColiStainer"' onmouseout='this.innerHTML="Stage 4"'>Stage 4</a></li> -->
-
 
+
           <li id="WetLab"><a href="https://2010.igem.org/Team:Warsaw/Parts">Wet Lab</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/Licensing" style="display:block; width:auto;">Human Practices</a></li>
 +
          <li id="Safe"><a href="https://2010.igem.org/Team:Warsaw/Safe">Safety</a></li>
 +
           <li id="Team"><a href="https://2010.igem.org/Team:Warsaw/Team">Team</a></li>
 +
 
</ul>
</ul>
-
 
+
        </div>
-
</div>
+
<script type="text/javascript">
<script type="text/javascript">
 +
function ChangeUpperTab(ActiveTab, string) {
function ChangeUpperTab(ActiveTab, string) {
-
if (ActiveTab=='Team'){
+
 
-
document.getElementById('Team').innerHTML="<span>Team</span>";
+
-
}
+
if (ActiveTab=='Home'){
if (ActiveTab=='Home'){
document.getElementById('Home').innerHTML="<span>Home</span>";
document.getElementById('Home').innerHTML="<span>Home</span>";
Line 33: Line 34:
document.getElementById('Project').innerHTML="<span>Project</span>";
document.getElementById('Project').innerHTML="<span>Project</span>";
}
}
-
if (ActiveTab=='Modeling'){
+
if (ActiveTab=='Stage1'){
-
document.getElementById('Modeling').innerHTML="<span>Modeling</span>";
+
document.getElementById('Stage1').innerHTML="<span style='width:auto;'>ExpressIt!</span>";
}
}
-
if (ActiveTab=='Results'){
+
if (ActiveTab=='Stage2'){
-
document.getElementById('Results').innerHTML="<span>Results</span>";
+
document.getElementById('Stage2').innerHTML="<span>Kill&nbsp;Switch</span>";
}
}
-
if (ActiveTab=='LabWork'){
+
if (ActiveTab=='Stage3'){
-
document.getElementById('LabWork').innerHTML="<span>Lab Work</span>";
+
document.getElementById('Stage3').innerHTML="<span>BactoDHL</span>";
}
}
-
if (ActiveTab=='ThankYou'){
+
if (ActiveTab=='Stage4'){
-
document.getElementById('ThankYou').innerHTML="<span>Thank You</span>";
+
document.getElementById('Stage4').innerHTML="<span>Coli-Stainer</span>";
}
}
 +
if (ActiveTab=='WetLab'){
 +
document.getElementById('WetLab').innerHTML="<span>Wet Lab</span>";
 +
}
 +
if (ActiveTab=='Software'){
 +
document.getElementById('Software').innerHTML="<span>Software</span>";
 +
}
 +
if (ActiveTab=='HP'){
 +
document.getElementById('HP').innerHTML="<span style='width:auto;'>Human Practices</span>";
 +
 +
}
 +
if (ActiveTab=='Team'){
 +
document.getElementById('Team').innerHTML="<span>Team</span>";
 +
 +
}
 +
 +
if (ActiveTab=='Attribution'){
 +
document.getElementById('Attribution').innerHTML="<span>Attribution</span>";
 +
 +
}
 +
 +
if (ActiveTab=='Sponsors'){
 +
document.getElementById('Sponsors').innerHTML="<span>Sponsors</span>";
 +
 +
}
 +
 +
if (ActiveTab=='Safe'){
 +
document.getElementById('Safe').innerHTML="<span>Safety</span>";
 +
 +
}
 +
}
}
-
ChangeUpperTab('Team');
+
ChangeUpperTab(ActiveTab);
</script>
</script>

Latest revision as of 10:52, 26 October 2010