Template:Kyoto/js
From 2014.igem.org
(Difference between revisions)
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() { | ||
- | + | document.getElementById("top-dms-content").style.display = 'none'; | |
} | } | ||
function MouseOnTopMagnet() { | function MouseOnTopMagnet() { | ||
- | + | document.getElementById("top-magnet-content").style.display = 'block'; | |
} | } | ||
function MouseOffTopMagnet() { | function MouseOffTopMagnet() { | ||
- | + | document.getElementById("top-magnet-content").style.display = 'none'; | |
} | } | ||
Revision as of 07:46, 10 September 2014