Team:USTC-China/Team/gallarytry
From 2011.igem.org
(Difference between revisions)
Line 92: | Line 92: | ||
$('.col_list li').click(function () { | $('.col_list li').click(function () { | ||
- | + | $('#'+name+'pic').slideToggle('slow'); | |
var name = $(this).attr('id'); | var 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'); | ||
Revision as of 11:11, 26 August 2011