Team:USTC-China/Team/gallarytry
From 2011.igem.org
(Difference between revisions)
Line 93: | Line 93: | ||
$('.col_list li').click(function () { | $('.col_list li').click(function () { | ||
+ | |||
$('#'+name+'pic').slideToggle('slow'); | $('#'+name+'pic').slideToggle('slow'); | ||
- | + | name = $(this).attr('id'); | |
// n=parseInt(name); | // n=parseInt(name); | ||
//$('#'+(name-1)+'pic').slideToggle('slow'); | //$('#'+(name-1)+'pic').slideToggle('slow'); | ||
- | $('#'+name+'pic').slideToggle('slow'); | + | $('#'+name+'pic').slideToggle('slow'); |
+ | |||
}); | }); | ||
- | + | }); | |
</script> | </script> | ||
Line 119: | Line 121: | ||
<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;" align="middle"/> |
- | + | ||
<div class="clear"></div> | <div class="clear"></div> |
Revision as of 11:48, 26 August 2011