Template:Kyoto/js
From 2013.igem.org
(Difference between revisions)
(12 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | function | + | /*** top on-mouse ***/ |
- | document.getElementById(" | + | function mouseonproject() { |
+ | document.getElementById("projectexplain").style.display = 'block'; | ||
document.getElementById("prezi").style.display = 'none'; | document.getElementById("prezi").style.display = 'none'; | ||
} | } | ||
- | function | + | function mouseoffproject() { |
- | document.getElementById(" | + | document.getElementById("projectexplain").style.display = 'none'; |
- | document.getElementById("prezi").style.display = 'block'; } | + | document.getElementById("prezi").style.display = 'block'; |
+ | } | ||
+ | |||
+ | function mouseonhumanpractice() { | ||
+ | document.getElementById("humanexplain").style.display = 'block'; | ||
+ | document.getElementById("prezi").style.display = 'none'; | ||
+ | } | ||
+ | function mouseoffhumanpractice() { | ||
+ | document.getElementById("humanexplain").style.display = 'none'; | ||
+ | document.getElementById("prezi").style.display = 'block'; | ||
+ | } | ||
+ | |||
+ | function mouseonachievement() { | ||
+ | document.getElementById("achievexplain").style.display = 'block'; | ||
+ | document.getElementById("prezi").style.display = 'none'; | ||
+ | } | ||
+ | function mouseoffachievement() { | ||
+ | document.getElementById("achievexplain").style.display = 'none'; | ||
+ | document.getElementById("prezi").style.display = 'block'; | ||
+ | } | ||
+ | function mouseofffirst() { | ||
+ | document.getElementById("projectexplain").style.display = 'none'; | ||
+ | document.getElementById("humanexplain").style.display = 'none'; | ||
+ | document.getElementById("achievexplain").style.display = 'none'; | ||
+ | document.getElementById("prezi").style.display = 'block'; | ||
+ | } | ||
+ | /*** Project Tab ***/ | ||
+ | function changetab(tabname) { | ||
+ | document.getElementById('projectRNA').style.display = 'none'; | ||
+ | document.getElementById('projectTuring').style.display = 'none'; | ||
+ | document.getElementById(tabname).style.display = 'block'; | ||
+ | } | ||
</script> | </script> | ||
</html> | </html> | ||
- | <html><body onload="javascript: | + | <html><body onload="javascript:mouseofffirst()"></html> |
Latest revision as of 21:56, 26 September 2013