Team:Tsinghua

From 2013.igem.org

(Difference between revisions)
 
(4 intermediate revisions not shown)
Line 1: Line 1:
 +
{{Tsinghua:Common-Style}}
<html>
<html>
 +
<head></head>
<body>
<body>
                 <style type="text/css">
                 <style type="text/css">
Line 8: Line 10:
</style>
</style>
<div id="cover">
<div id="cover">
-
<img id="coverimage1" src="https://static.igem.org/mediawiki/2013/4/41/Tsinghua-cover1.jpg" 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/6/6e/Tsinghua-cover2.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="#">
+
<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();
});
});
-
/*
 
-
function toggleImage(number){
 
-
if(number == 1){
 
-
document.getElementById('coverimage1').style.display = "none";
 
-
document.getElementById('coverimage2').style.display = "block";
 
-
}else if(number == 2){
 
-
document.getElementById('coverimage1').style.display = "block";
 
-
document.getElementById('coverimage2').style.display = "none";
 
-
}
 
-
}
 
-
*/
 
</script>
</script>
</body>
</body>
</html>
</html>

Latest revision as of 06:02, 26 September 2013