Template:Team:HokkaidoU Japan/About Us/JS
From 2014.igem.org
(Difference between revisions)
Line 29: | Line 29: | ||
//一行目 | //一行目 | ||
- | $(".show").slice(2, 8). | + | $(".show").slice(2, 8).hover(function(){ |
$("#tori,#mami,#tamaro,#sanbon,#saitoh,#liu").animate({"top": "200px"}, 500); | $("#tori,#mami,#tamaro,#sanbon,#saitoh,#liu").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") { | ||
Line 35: | Line 35: | ||
} else {$("#shehata").animate({"top": "200px"}, 500); | } else {$("#shehata").animate({"top": "200px"}, 500); | ||
}; | }; | ||
- | |||
$("#special-thanks,#itoh,#kawahata").animate({"top":"200px"},500); | $("#special-thanks,#itoh,#kawahata").animate({"top":"200px"},500); | ||
- | }) | + | },function(){ |
$(".overlay").slice(2,8).click(function(){ | $(".overlay").slice(2,8).click(function(){ |
Revision as of 07:42, 3 October 2014