Template:UpperTabs

From 2010.igem.org

(Difference between revisions)
Line 14: Line 14:
           <li id="LabWork"><a href="https://2010.igem.org/wiki/index.php?title=Team:Warsaw/labwork">Lab Work</a></li>
           <li id="LabWork"><a href="https://2010.igem.org/wiki/index.php?title=Team:Warsaw/labwork">Lab Work</a></li>
            
            
-
           <li><a href="contactus.html">Thank you</a></li>
+
           <li id="ThankYou"><a href="contactus.html">Thank you</a></li>
Line 25: Line 25:
function ChangeUpperTab(ActiveTab, string) {
function ChangeUpperTab(ActiveTab, string) {
if (ActiveTab=='Team'){
if (ActiveTab=='Team'){
-
document.getElementById('Team').innerHTML="<span>Team</span>";}
+
document.getElementById('Team').innerHTML="<span>Team</span>";
}  
}  
 +
if (ActiveTab=='Home'){
 +
document.getElementById('Home').innerHTML="<span>Home</span>";
 +
}
 +
if (ActiveTab=='Project'){
 +
document.getElementById('Project').innerHTML="<span>Project</span>";
 +
}
 +
if (ActiveTab=='Modeling'){
 +
document.getElementById('Modeling').innerHTML="<span>Modeling</span>";
 +
}
 +
if (ActiveTab=='Results'){
 +
document.getElementById('Results').innerHTML="<span>Results</span>";
 +
}
 +
if (ActiveTab=='LabWork'){
 +
document.getElementById('LabWork').innerHTML="<span>Lab Work</span>";
 +
}
 +
if (ActiveTab=='ThankYou'){
 +
document.getElementById('ThankYou').innerHTML="<span>Thank You</span>";
 +
}
 +
}
ChangeUpperTab('Team');
ChangeUpperTab('Team');
</script>
</script>

Revision as of 15:58, 7 July 2010