Template:LowerTabsTeam

From 2010.igem.org

(Difference between revisions)
Line 2: Line 2:
<div id="main">
<div id="main">
<div id="subtabs">
<div id="subtabs">
-
<ul id="AboutUsLower">
+
<ul id="AboutUsLower" style="display:none;">                        
-
                          
+
                         <li><a href="https://2010.igem.org/Team:Warsaw/Team">Team</a></li>
-
<li><a href="https://2010.igem.org/Team:Warsaw/Team">Team</a></li><li><a href="https://2010.igem.org/Team:Warsaw/Media">Media</a></li><li><a href="https://2010.igem.org/Team:Warsaw/Random">Random</a></li></li>
+
                        <li><a href="https://2010.igem.org/Team:Warsaw/Media">Media</a></li>
-
</ul>
+
                        <li><a href="https://2010.igem.org/Team:Warsaw/Random">Random</a></li>
 +
                        </ul>
                         <ul id="ProjectLower" style="display:none;">
                         <ul id="ProjectLower" style="display:none;">
                         <li>Project 1:</li>
                         <li>Project 1:</li>
Line 28: Line 29:
function ChangeLowerTab(ActiveTab, string) {
function ChangeLowerTab(ActiveTab, string) {
-
if (ActiveTab=='AboutUs'){
+
if (ActiveTab=='AboutUs'){document.getElementById('AboutUsLower').style.display='inline';}
-
document.getElementById('AboutUsLower').style.display = 'none';
+
if (ActiveTab=='Project'){document.getElementById('ProjectLower').style.display='inline';}
-
 
+
if (ActiveTab=='Modeling'){document.getElementById('ModelingLower').style.display='inline';}  
-
;}  
+
if (ActiveTab=='Results'){document.getElementById('ResultsLower').style.display='inline';}
-
 
+
if (ActiveTab=='LabWork'){document.getElementById('LabWorkLower').style.display='inline';}
-
                     
+
if (ActiveTab=='Software'){document.getElementById('ProjectLower').style.display='inline';}
-
if (ActiveTab=='Project'){}
+
if (ActiveTab=='ThankYou'){document.getElementById('ThankYouLower').style.display='inline';}  
}
}
ChangeLowerTab(ActiveTab);
ChangeLowerTab(ActiveTab);
</script>
</script>

Revision as of 18:23, 7 July 2010