Team:Tsinghua
From 2013.igem.org
(Difference between revisions)
Fanxiao0606 (Talk | contribs) |
|||
Line 12: | Line 12: | ||
<img id="coverimage1" src="https://static.igem.org/mediawiki/2013/0/02/Tsinghua-cover-1.png" onmouseover="toggleImage(1)" usemap="#covermap" width="100%"> | <img id="coverimage1" src="https://static.igem.org/mediawiki/2013/0/02/Tsinghua-cover-1.png" onmouseover="toggleImage(1)" usemap="#covermap" width="100%"> | ||
<img id="coverimage2" src="https://static.igem.org/mediawiki/2013/7/7d/Tsinghua-cover-2.png" onmouseover="toggleImage(2)" style="display: none" usemap="#covermap" width="100%"> | <img id="coverimage2" src="https://static.igem.org/mediawiki/2013/7/7d/Tsinghua-cover-2.png" onmouseover="toggleImage(2)" style="display: none" usemap="#covermap" width="100%"> | ||
- | <map name="covermap"> | + | <map id="covermap" name="covermap"> |
<area shape="circle" coords="500, 280, 193" href="https://2013.igem.org/Team:Tsinghua/Main-Page"> | <area shape="circle" coords="500, 280, 193" href="https://2013.igem.org/Team:Tsinghua/Main-Page"> | ||
</map> | </map> | ||
</div> | </div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | $('# | + | $('map#covermap area').mouseenter(function(){ |
$("#coverimage1").hide(); | $("#coverimage1").hide(); | ||
$("#coverimage2").show(); | $("#coverimage2").show(); | ||
}); | }); | ||
- | $("# | + | $("map#covermap area").mouseleave(function(){ |
$("#coverimage2").hide(); | $("#coverimage2").hide(); | ||
$("#coverimage1").show(); | $("#coverimage1").show(); |
Latest revision as of 06:02, 26 September 2013