Team:KIT-Kyoto

From 2014.igem.org

(Difference between revisions)
Line 185: Line 185:
});
});
$('.hide').css('opacity','0');
$('.hide').css('opacity','0');
-
$('.show a,.hide a').hover(function(){
+
$('.true a,.true a').hover(function(){
-
var tnum = $('.show a').index(this);
+
var tnum = $('.true a').index(this);
$('.show').eq(tnum).stop().animate({opacity:'0'},400);
$('.show').eq(tnum).stop().animate({opacity:'0'},400);
$('.hide').eq(tnum).stop().animate({opacity:'1'},400);
$('.hide').eq(tnum).stop().animate({opacity:'1'},400);
},
},
function(){
function(){
-
var tnum = $('.show a').index(this);
+
var tnum = $('.true a').index(this);
$('.show').eq(tnum).stop().animate({opacity:'1'},400);
$('.show').eq(tnum).stop().animate({opacity:'1'},400);
$('.hide').eq(tnum).stop().animate({opacity:'0'},400);
$('.hide').eq(tnum).stop().animate({opacity:'0'},400);
Line 213: Line 213:
$("#container").css({marginTop:'65px',marginLeft:'0px'});
$("#container").css({marginTop:'65px',marginLeft:'0px'});
}else{
}else{
 +
        $(".show").addClass('true');
 +
        $(".hide").addClass('true1')
         $("#close").removeClass('close');
         $("#close").removeClass('close');
         $("#SideMenu").css({"left":"-215px"});
         $("#SideMenu").css({"left":"-215px"});

Revision as of 05:17, 13 October 2014


kit