Template:Team:HokkaidoU Japan/About Us/JS
From 2014.igem.org
(Difference between revisions)
Line 47: | Line 47: | ||
//二行目 | //二行目 | ||
- | $(".show").slice(8, 14). | + | $(".show").slice(8, 14).hover(function(){ |
$("#shehata").animate({"top": "200px"}, 500); | $("#shehata").animate({"top": "200px"}, 500); | ||
if( $("#tori").css("top")=="200px") { | if( $("#tori").css("top")=="200px") { | ||
Line 54: | Line 54: | ||
$(this).queue([]); | $(this).queue([]); | ||
$("#special-thanks,#itoh,#kawahata").animate({"top":"200px"},500); | $("#special-thanks,#itoh,#kawahata").animate({"top":"200px"},500); | ||
- | + | },function(){ | |
- | } | + | |
- | + | ||
- | + | ||
if($("#tori").css("top")=="0px"){ | if($("#tori").css("top")=="0px"){ | ||
$("#shehata").animate({"top":"0px"},500); | $("#shehata").animate({"top":"0px"},500); |
Revision as of 07:46, 3 October 2014