Team:USTC-China/Team/gallarytry
From 2011.igem.org
(Difference between revisions)
Line 99: | Line 99: | ||
}); | }); | ||
$("img").mousedown(function () { | $("img").mousedown(function () { | ||
- | + | name = $(this).attr('id'); | |
$('#'+name+'pic').slideToggle('slow'); | $('#'+name+'pic').slideToggle('slow'); | ||
- | + | name = name+1; | |
- | + | $('#'+(name)+'pic').slideToggle('slow'); | |
}); | }); | ||
}); | }); |
Revision as of 12:34, 26 August 2011