Template:Kyoto/js

From 2014.igem.org

(Difference between revisions)
(Undo revision 111117 by Mitsuaki (talk))
(Undo revision 111120 by Mitsuaki (talk))
Line 7: Line 7:
}
}
-
/****
 
-
function MouseOnTopDMS() {
 
-
    document.getElementById("top-dms-content").style.display = 'block';
 
-
}
 
-
****/
 
function MouseOnTopDMS() {
function MouseOnTopDMS() {
     $("#top-dms-content").fadeIn("slow");
     $("#top-dms-content").fadeIn("slow");
Line 17: Line 12:
function MouseOffTopDMS() {
function MouseOffTopDMS() {
-
     document.getElementById("top-dms-content").style.display = 'none';
+
     $("#top-dms-content").fadeOut("slow");
}
}
function MouseOnTopMagnet() {
function MouseOnTopMagnet() {
-
     document.getElementById("top-magnet-content").style.display = 'block';  
+
     $("#top-magnet-content").fadeIn("slow");
}
}
function MouseOffTopMagnet() {
function MouseOffTopMagnet() {
-
     document.getElementById("top-magnet-content").style.display = 'none';
+
     $("#top-magnet-content").fadeOut("slow");
}
}

Revision as of 07:48, 10 September 2014