Team:KIT-Kyoto/Test

From 2014.igem.org

(Difference between revisions)
Line 176: Line 176:
$('.hide').hide();
$('.hide').hide();
$('.timg a').hover(function(){
$('.timg a').hover(function(){
-
var tnum = $('.timg').index(this);
+
var tnum = $('.hide').index(this);
$('.show').eq(tnum).fadeOut();
$('.show').eq(tnum).fadeOut();
$('.hide').eq(tnum).fadeIn();
$('.hide').eq(tnum).fadeIn();
},
},
function(){
function(){
-
var tnum = $('.timg').index(this);
+
var tnum = $('.hide').index(this);
$('.show').eq(tnum).fadeIn();
$('.show').eq(tnum).fadeIn();
$('.hide').eq(tnum).fadeOut();
$('.hide').eq(tnum).fadeOut();

Revision as of 17:01, 10 October 2014


kit