Team:KIT-Kyoto

From 2014.igem.org

(Difference between revisions)
Line 185: Line 185:
});
});
$('.hide').css('opacity','0');
$('.hide').css('opacity','0');
-
$('.true a,.true a').hover(function(){
+
$('.true1 a,.true a').hover(function(){
var tnum = $('.true a').index(this);
var tnum = $('.true a').index(this);
-
$('.show').eq(tnum).stop().animate({opacity:'0'},400);
+
$('.true').eq(tnum).stop().animate({opacity:'0'},400);
-
$('.hide').eq(tnum).stop().animate({opacity:'1'},400);
+
$('.true1').eq(tnum).stop().animate({opacity:'1'},400);
},
},
function(){
function(){
var tnum = $('.true a').index(this);
var tnum = $('.true a').index(this);
-
$('.show').eq(tnum).stop().animate({opacity:'1'},400);
+
$('.true').eq(tnum).stop().animate({opacity:'1'},400);
-
$('.hide').eq(tnum).stop().animate({opacity:'0'},400);
+
$('.true1').eq(tnum).stop().animate({opacity:'0'},400);
}
}
);
);

Revision as of 05:18, 13 October 2014


kit