Template:Kyoto/js
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
function MouseOffFirst() { | function MouseOffFirst() { | ||
document.getElementById("top-dms-content").style.display = 'none'; | document.getElementById("top-dms-content").style.display = 'none'; | ||
+ | document.getElementById("top-magnet-content").style.display = 'none'; | ||
} | } | ||
Line 12: | Line 13: | ||
function MouseOffTopDMS() { | function MouseOffTopDMS() { | ||
document.getElementById("top-dms-content").style.display = 'none'; | document.getElementById("top-dms-content").style.display = 'none'; | ||
+ | } | ||
+ | |||
+ | function MouseOnTopMagnet() { | ||
+ | document.getElementById("top-magnet-content").style.display = 'block'; | ||
+ | } | ||
+ | |||
+ | function MouseOffTopMagnet() { | ||
+ | document.getElementById("top-magnet-content").style.display = 'none'; | ||
} | } | ||
</script> | </script> | ||
</html> | </html> | ||
<html><body onload="javascript:MouseOffFirst()"></html> | <html><body onload="javascript:MouseOffFirst()"></html> |
Revision as of 07:27, 9 September 2014