Template:UpperTabs

From 2010.igem.org

(Difference between revisions)
 
(90 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>
-
<div id="Home">    <li><a href="home.html">Home</a></li></div>
+
          <li id="Home"><a href="https://2010.igem.org/Team:Warsaw">Main</a></li>      
-
<div id="Team">   <li><a href="team.html">Team</li></div>
+
          <li id="Project"><a href="https://2010.igem.org/Team:Warsaw/Project">Project</a></li>
-
<div id="Project"> <li><a href="https://2010.igem.org/wiki/index.php?title=Team:Warsaw/project">Project</a></li></div>
+
          <li id="Stage1"><a href="https://2010.igem.org/Team:Warsaw/Stage1"  
-
<div id="Modeling"><li><a href="https://2010.igem.org/wiki/index.php?title=Team:Warsaw/modeling">Modeling</a></li></div>
+
                          onmouseover='this.innerHTML="ExpressIt!"' onmouseout='this.innerHTML="Stage 1"' >Stage 1</a></li>
-
<div id="Results"> <li><a href="https://2010.igem.org/wiki/index.php?title=Team:Warsaw/results">Results</a></li></div>
+
          <li id="Stage2"><a href="https://2010.igem.org/Team:Warsaw/Stage2"  
-
<div id="LabWork"> <li><a href="https://2010.igem.org/wiki/index.php?title=Team:Warsaw/labwork">Lab Work</a></li></div>
+
                          onmouseover='this.innerHTML="Kill&nbsp;Switch"' onmouseout='this.innerHTML="Stage 2"'>Stage 2</a></li>
-
                <li><a href="contactus.html">HP</a></li>
+
          <li id="Stage3"><a href="https://2010.igem.org/Team:Warsaw/Stage3"
-
                <li><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>
 +
        </div>
 +
<script type="text/javascript">
 +
function ChangeUpperTab(ActiveTab, string) {
-
</ul>
+
if (ActiveTab=='Home'){
 +
document.getElementById('Home').innerHTML="<span>Home</span>";
 +
}
 +
if (ActiveTab=='Project'){
 +
document.getElementById('Project').innerHTML="<span>Project</span>";
 +
}
 +
if (ActiveTab=='Stage1'){
 +
document.getElementById('Stage1').innerHTML="<span style='width:auto;'>ExpressIt!</span>";
 +
}
 +
if (ActiveTab=='Stage2'){
 +
document.getElementById('Stage2').innerHTML="<span>Kill&nbsp;Switch</span>";
 +
}
 +
if (ActiveTab=='Stage3'){
 +
document.getElementById('Stage3').innerHTML="<span>BactoDHL</span>";
 +
}
 +
if (ActiveTab=='Stage4'){
 +
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>";
-
</div>
+
}
 +
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(ActiveTab);
-
<script type="text/javascript">
 
-
document.getElementById('Team').innerHTML="<li><span>Team</span></li>";
 
</script>
</script>

Latest revision as of 10:52, 26 October 2010