Template:Kyoto/js

From 2013.igem.org

(Difference between revisions)
 
(13 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<script type="text/javascript">  
<script type="text/javascript">  
-
function mouseon() {  
+
/*** top on-mouse ***/
-
     document.getElementById("popDiv").style.display = 'block';  
+
function mouseonproject() {
 +
     document.getElementById("projectexplain").style.display = 'block';
 +
    document.getElementById("prezi").style.display = 'none';  
}
}
-
function mouseoff() {  
+
function mouseoffproject() {
-
     document.getElementById("popDiv").style.display = 'none';  
+
     document.getElementById("projectexplain").style.display = 'none';
 +
    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:mouseoff()"> </html>
+
<html><body onload="javascript:mouseofffirst()"></html>

Latest revision as of 21:56, 26 September 2013