Team:USTC-China/Team/gallarytry
From 2011.igem.org
(Difference between revisions)
Line 99: | Line 99: | ||
//$('#'+(name-1)+'pic').slideToggle('slow'); | //$('#'+(name-1)+'pic').slideToggle('slow'); | ||
$('#'+name+'pic').slideToggle('slow'); | $('#'+name+'pic').slideToggle('slow'); | ||
- | + | }); | |
- | }); | + | $('area').click(function () { |
+ | |||
+ | $('#'+name+'pic').slideToggle('slow'); | ||
+ | name = $(this).attr('id'); | ||
+ | // n=parseInt(name); | ||
+ | //$('#'+(name-1)+'pic').slideToggle('slow'); | ||
+ | $('#'+name+'pic').slideToggle('slow'); | ||
+ | }); | ||
}); | }); | ||
Line 121: | Line 128: | ||
<div class="pic" id="2pic"> | <div class="pic" id="2pic"> | ||
<h1>Yinghong Lan</h1> | <h1>Yinghong Lan</h1> | ||
- | <img src="https://static.igem.org/mediawiki/2011/2/2b/%E5%9B%BE%E7%89%87%E4%B8%89.jpg" style="max-width:350px; margin-right:10px;" | + | <img src="https://static.igem.org/mediawiki/2011/2/2b/%E5%9B%BE%E7%89%87%E4%B8%89.jpg" style="max-width:350px; margin-right:10px;" usemap="#planetmap" alt="Planets"/> |
- | + | <area shape ="rect" coords ="0,0,800,400"> | |
<div class="clear"></div> | <div class="clear"></div> | ||
</div> | </div> |
Revision as of 11:58, 26 August 2011