Team:XMU-China/teammember
From 2012.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
.individual { | .individual { | ||
overflow: visible; | overflow: visible; | ||
- | position: absolute | + | position: absolute; |
- | + | ||
left: 600px; | left: 600px; | ||
+ | top:inherit; | ||
z-index: 2; | z-index: 2; | ||
visibility: hidden; | visibility: hidden; | ||
Line 34: | Line 34: | ||
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } | if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } | ||
obj.visibility=v; } | obj.visibility=v; } | ||
+ | } | ||
+ | function MM_changeProp(objId,x,theProp,theValue) { //v9.0 | ||
+ | var obj = null; with (document){ if (getElementById) | ||
+ | obj = getElementById(objId); } | ||
+ | if (obj){ | ||
+ | if (theValue == true || theValue == false) | ||
+ | eval("obj.style."+theProp+"="+theValue); | ||
+ | else eval("obj.style."+theProp+"='"+theValue+"'"); | ||
+ | } | ||
} | } | ||
</script> | </script> | ||
Line 41: | Line 50: | ||
<div id="team"><img src="https://static.igem.org/mediawiki/2012/7/7f/Untitled.jpg" width="600" usemap="#Map" onclick="MM_showHideLayers('fanrong','','hide','yaoge','','hide','huangque','','hide','muxin','','hide','youbin','','hide','yunxin','','hide','sifan','','hide','ruosang','','hide','shuqin','','hide','mouzhe','','hide','qingshu','','hide','mazhao','','hide')" /> | <div id="team"><img src="https://static.igem.org/mediawiki/2012/7/7f/Untitled.jpg" width="600" usemap="#Map" onclick="MM_showHideLayers('fanrong','','hide','yaoge','','hide','huangque','','hide','muxin','','hide','youbin','','hide','yunxin','','hide','sifan','','hide','ruosang','','hide','shuqin','','hide','mouzhe','','hide','qingshu','','hide','mazhao','','hide')" /> | ||
<map name="Map" id="Map"> | <map name="Map" id="Map"> | ||
- | <area shape="rect" coords="154,42,215,111" href="#" | + | <area shape="rect" coords="154,42,215,111" href="#" onmouseover="MM_changeProp('fanrong','','visibility','visible','IMG')"/> |
<area shape="rect" coords="216,93,268,164" href="#" onclick="MM_effectGrowShrink('yaoge', 700, '0%', '100%', false, false, false)"/> | <area shape="rect" coords="216,93,268,164" href="#" onclick="MM_effectGrowShrink('yaoge', 700, '0%', '100%', false, false, false)"/> | ||
<area shape="rect" coords="282,74,336,136" href="#" onclick="MM_effectGrowShrink('huangque', 700, '0%', '100%', false, false, false)"/> | <area shape="rect" coords="282,74,336,136" href="#" onclick="MM_effectGrowShrink('huangque', 700, '0%', '100%', false, false, false)"/> |
Revision as of 11:43, 26 August 2012