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