Team:Tsinghua

From 2013.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 1: Line 1:
 +
{{Tsinghua:Common-Style}}
<html>
<html>
<head></head>
<head></head>
Line 11: 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">
-
$('#coverimage1').mouseleave(function(){
+
$('map#covermap area').mouseenter(function(){
$("#coverimage1").hide();
$("#coverimage1").hide();
$("#coverimage2").show();
$("#coverimage2").show();
});
});
-
$("#coverimage2").mouseenter(function(){
+
$("map#covermap area").mouseleave(function(){
$("#coverimage2").hide();
$("#coverimage2").hide();
$("#coverimage1").show();
$("#coverimage1").show();

Latest revision as of 06:02, 26 September 2013