Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
Line 14: Line 14:
     $(".overlay").eq(number).show(500);
     $(".overlay").eq(number).show(500);
   }, function() {
   }, function() {
 +
    var number =$(".show").index(this);
   $(".overlay").eq(number).hide(500);
   $(".overlay").eq(number).hide(500);
   });
   });

Revision as of 07:41, 3 October 2014