Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
Line 25: Line 25:
//一行目
//一行目
$(".show").slice(2, 8).hover(function(){
$(".show").slice(2, 8).hover(function(){
-
     $("#tori,#mami,#tamaro,#sanbon,#saitoh,#liu").animate({"top": "200px"}, 500);
+
     $("#tori,#mami,#tamaro,#sanbon,#saitoh,#liu")stop().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").animate({"top": "400px"}, 500);
     $("#shehata").animate({"top": "400px"}, 500);
-
     } else {$("#shehata").animate({"top": "200px"}, 500);
+
     } else {$("#shehata").stop().animate({"top": "200px"}, 500);
};
};
     $("#special-thanks,#itoh,#kawahata").stop(true,true).animate({"top":"200px"},500);
     $("#special-thanks,#itoh,#kawahata").stop(true,true).animate({"top":"200px"},500);

Revision as of 08:11, 3 October 2014