Template:Kyoto/js

From 2014.igem.org

(Difference between revisions)
(Undo revision 111117 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 12: Line 17:
function MouseOffTopDMS() {
function MouseOffTopDMS() {
-
     $("#top-dms-content").fadeOut("slow");
+
     document.getElementById("top-dms-content").style.display = 'none';
}
}
function MouseOnTopMagnet() {
function MouseOnTopMagnet() {
-
     $("#top-magnet-content").fadeIn("slow");
+
     document.getElementById("top-magnet-content").style.display = 'block';  
}
}
function MouseOffTopMagnet() {
function MouseOffTopMagnet() {
-
     $("#top-magnet-content").fadeOut("slow");
+
     document.getElementById("top-magnet-content").style.display = 'none';
}
}

Revision as of 07:46, 10 September 2014