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'); | ||
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'); |
- | + | ||
}); | }); | ||
- | + | ||
- | function | + | $('area').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+'pic').slideToggle('slow'); | |
- | + | }); | |
+ | }); | ||
+ | |||
function writeText(txt) | function writeText(txt) | ||
{ | { |
Revision as of 11:41, 26 August 2011