Template:Team:HokkaidoU Japan/About Us/JS
From 2014.igem.org
(Difference between revisions)
Line 52: | Line 52: | ||
$(".overlay").slice(2,8).click(function(){ | $(".overlay").slice(2,8).click(function(){ | ||
if( $("#tori").css("top")=="200px"){ | if( $("#tori").css("top")=="200px"){ | ||
- | $("#shehata").animate({"top":" | + | $("#shehata").animate({"top":"200px"},500); |
- | }; | + | } else { |
+ | $("#shehata").animate({"top":"0px"},500); | ||
$(".overlay").queue([]); | $(".overlay").queue([]); | ||
}); | }); |
Revision as of 13:16, 30 September 2014