Template:UpperTabs
From 2010.igem.org
(Difference between revisions)
(62 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<body> | <body> | ||
- | |||
- | |||
<div id="tabs"> | <div id="tabs"> | ||
<ul> | <ul> | ||
- | <li id="Home"><a href="https://2010.igem.org/Team:Warsaw | + | <li id="Home"><a href="https://2010.igem.org/Team:Warsaw">Main</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">Project</a></li> | ||
- | <li id="Stage1"><a href="https://2010.igem.org/Team:Warsaw/Stage1">Stage 1</a></li> | + | <li id="Stage1"><a href="https://2010.igem.org/Team:Warsaw/Stage1" |
- | <li id="Stage2"><a href="https://2010.igem.org/Team:Warsaw/Stage2">Stage 2</a></li> | + | onmouseover='this.innerHTML="ExpressIt!"' onmouseout='this.innerHTML="Stage 1"' >Stage 1</a></li> |
- | <li id="Stage3"><a href="https://2010.igem.org/Team:Warsaw/Stage3">Stage 3</a></li> | + | <li id="Stage2"><a href="https://2010.igem.org/Team:Warsaw/Stage2" |
- | + | onmouseover='this.innerHTML="Kill Switch"' onmouseout='this.innerHTML="Stage 2"'>Stage 2</a></li> | |
- | <li id="WetLab"><a href="https://2010.igem.org/Team:Warsaw/ | + | <li id="Stage3"><a href="https://2010.igem.org/Team:Warsaw/Stage3" |
+ | 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="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"> | + | <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> | |
- | + | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | |||
function ChangeUpperTab(ActiveTab, string) { | function ChangeUpperTab(ActiveTab, string) { | ||
Line 28: | Line 32: | ||
} | } | ||
if (ActiveTab=='Project'){ | if (ActiveTab=='Project'){ | ||
- | document.getElementById('Project').innerHTML="<span> | + | document.getElementById('Project').innerHTML="<span>Project</span>"; |
} | } | ||
if (ActiveTab=='Stage1'){ | if (ActiveTab=='Stage1'){ | ||
- | document.getElementById('Stage1').innerHTML="<span style= | + | document.getElementById('Stage1').innerHTML="<span style='width:auto;'>ExpressIt!</span>"; |
} | } | ||
if (ActiveTab=='Stage2'){ | if (ActiveTab=='Stage2'){ | ||
- | document.getElementById('Stage2').innerHTML="<span> | + | document.getElementById('Stage2').innerHTML="<span>Kill Switch</span>"; |
} | } | ||
if (ActiveTab=='Stage3'){ | if (ActiveTab=='Stage3'){ | ||
Line 40: | Line 44: | ||
} | } | ||
if (ActiveTab=='Stage4'){ | if (ActiveTab=='Stage4'){ | ||
- | document.getElementById('Stage4').innerHTML="<span> | + | document.getElementById('Stage4').innerHTML="<span>Coli-Stainer</span>"; |
} | } | ||
- | if (ActiveTab==' | + | if (ActiveTab=='WetLab'){ |
- | document.getElementById(' | + | document.getElementById('WetLab').innerHTML="<span>Wet Lab</span>"; |
+ | } | ||
+ | if (ActiveTab=='Software'){ | ||
+ | document.getElementById('Software').innerHTML="<span>Software</span>"; | ||
} | } | ||
if (ActiveTab=='HP'){ | if (ActiveTab=='HP'){ | ||
- | document.getElementById('HP').innerHTML="<span> | + | 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(ActiveTab); | ChangeUpperTab(ActiveTab); | ||
</script> | </script> |
Latest revision as of 10:52, 26 October 2010