Template:Team:HokkaidoU Japan/About Us/JS
From 2014.igem.org
(Difference between revisions)
Line 27: | Line 27: | ||
$("#tori,#mami,#tamaro,#sanbon,#saitoh,#liu").stop(true,true).animate({"top": "200px"}, 500); | $("#tori,#mami,#tamaro,#sanbon,#saitoh,#liu").stop(true,true).animate({"top": "200px"}, 500); | ||
if( $(".member-list ul li").slice(8,14).css("top")=="200px") { | if( $(".member-list ul li").slice(8,14).css("top")=="200px") { | ||
- | $("#shehata").stop( | + | $("#shehata").stop(true,true).animate({"top": "400px"}, 500); |
} else {$("#shehata").animate({"top": "200px"}, 500); | } else {$("#shehata").animate({"top": "200px"}, 500); | ||
}; | }; | ||
Line 36: | Line 36: | ||
$("#shehata").stop(true,true).animate({"top":"0px"},500); | $("#shehata").stop(true,true).animate({"top":"0px"},500); | ||
}; | }; | ||
- | $("#special-thanks,#itoh,#kawahata").stop( | + | $("#special-thanks,#itoh,#kawahata").stop(truƒe,true).animate({"top":"-=200px"},500); |
}); | }); | ||
Line 42: | Line 42: | ||
//二行目 | //二行目 | ||
$(".show").slice(8, 14).hover(function(){ | $(".show").slice(8, 14).hover(function(){ | ||
- | $("#shehata").stop( | + | $("#shehata").stop(true,true).animate({"top": "200px"}, 500); |
if( $("#tori").css("top")=="200px") { | if( $("#tori").css("top")=="200px") { | ||
- | $("#shehata").stop( | + | $("#shehata").stop(true,true).animate({"top": "400px"}, 500); |
}; | }; | ||
$(this).queue([]); | $(this).queue([]); |
Revision as of 08:01, 3 October 2014