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