Template:Kyoto/js

From 2013.igem.org

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

Revision as of 09:53, 23 September 2013