Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
Line 10: Line 10:
$(".show").click(function(){
$(".show").click(function(){
-
     var member-name =$(".show").index(this);
+
     var class =$(".show").index(this);
-
     $("overlay").eq(member-name).show(500);
+
     $("overlay").eq(class).show(500);
   });
   });

Revision as of 14:26, 29 September 2014