Template:Kyoto/js
From 2013.igem.org
(Difference between revisions)
(10 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | /*** top on-mouse ***/ | ||
function mouseonproject() { | function mouseonproject() { | ||
document.getElementById("projectexplain").style.display = 'block'; | document.getElementById("projectexplain").style.display = 'block'; | ||
Line 26: | Line 27: | ||
document.getElementById("achievexplain").style.display = 'none'; | document.getElementById("achievexplain").style.display = 'none'; | ||
document.getElementById("prezi").style.display = 'block'; | 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