Team:KIT-Kyoto/Test
From 2014.igem.org
(Difference between revisions)
Line 178: | Line 178: | ||
var tnum = $('timg').index(this); | var tnum = $('timg').index(this); | ||
var s = $('.show').eq(tnum); | var s = $('.show').eq(tnum); | ||
- | var h = $('.hide').eq(tnum) | + | var h = $('.hide').eq(tnum); |
s.fadeOut(); | s.fadeOut(); | ||
h.fadeIn(); | h.fadeIn(); | ||
}, | }, | ||
function(){ | function(){ | ||
+ | var s = $('.show').eq(tnum); | ||
+ | var h = $('.hide').eq(tnum); | ||
s.fadeIn(); | s.fadeIn(); | ||
h.fadeOut(); | h.fadeOut(); |
Revision as of 16:59, 10 October 2014