Template:Team:HokkaidoU Japan/About Us/JS
From 2014.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
var number =$(".show").index(this); | var number =$(".show").index(this); | ||
$(".overlay").eq(number).hide(500); | $(".overlay").eq(number).hide(500); | ||
+ | $(this).queue([]); // queueを空にする | ||
+ | $(this).stop(); // アニメーション停止 | ||
}); | }); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
$(".overlay-content").click(function(e){ | $(".overlay-content").click(function(e){ |
Revision as of 07:51, 3 October 2014