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