Team:KIT-Kyoto
From 2014.igem.org
(Difference between revisions)
Line 185: | Line 185: | ||
}); | }); | ||
$('.hide').css('opacity','0'); | $('.hide').css('opacity','0'); | ||
- | $('. | + | $('.true1 a,.true a').hover(function(){ |
var tnum = $('.true a').index(this); | var tnum = $('.true a').index(this); | ||
- | $('. | + | $('.true').eq(tnum).stop().animate({opacity:'0'},400); |
- | $('. | + | $('.true1').eq(tnum).stop().animate({opacity:'1'},400); |
}, | }, | ||
function(){ | function(){ | ||
var tnum = $('.true a').index(this); | var tnum = $('.true a').index(this); | ||
- | $('. | + | $('.true').eq(tnum).stop().animate({opacity:'1'},400); |
- | $('. | + | $('.true1').eq(tnum).stop().animate({opacity:'0'},400); |
} | } | ||
); | ); |
Revision as of 05:18, 13 October 2014