Team:Tsinghua
From 2013.igem.org
(Difference between revisions)
(8 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | + | {{Tsinghua:Common-Style}} | |
- | + | <html> | |
- | + | <head></head> | |
- | + | <body> | |
- | + | <style type="text/css"> | |
- | + | div#cover { | |
- | + | width: 960px; | |
- | + | margin: auto; | |
- | < | + | } |
- | + | </style> | |
- | + | <div id="cover"> | |
- | + | <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%"> | |
- | + | <map id="covermap" name="covermap"> | |
- | + | <area shape="circle" coords="500, 280, 193" href="https://2013.igem.org/Team:Tsinghua/Main-Page"> | |
- | + | </map> | |
- | + | </div> | |
- | + | <script type="text/javascript"> | |
- | + | $('map#covermap area').mouseenter(function(){ | |
- | + | $("#coverimage1").hide(); | |
- | + | $("#coverimage2").show(); | |
+ | }); | ||
+ | $("map#covermap area").mouseleave(function(){ | ||
+ | $("#coverimage2").hide(); | ||
+ | $("#coverimage1").show(); | ||
+ | }); | ||
+ | </script> | ||
+ | </body> | ||
+ | </html> |
Latest revision as of 06:02, 26 September 2013