Template:Team:HokkaidoU Japan/About Us/JS
From 2014.igem.org
(Difference between revisions)
Line 12: | Line 12: | ||
$(".show").hover(function(){ | $(".show").hover(function(){ | ||
var number =$(".show").index(this); | var number =$(".show").index(this); | ||
- | $(".overlay").eq(number | + | $(".overlay").eq(number).stop(true,true).show(500); |
- | + | ||
- | + | ||
}, function() { | }, function() { | ||
var number =$(".show").index(this); | var number =$(".show").index(this); | ||
- | $(".overlay").eq(number | + | $(".overlay").eq(number).stop(true,true).hide(500); |
- | + | ||
- | + | ||
}); | }); | ||
Revision as of 07:58, 3 October 2014