Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
Line 11: Line 11:
$(".show").click(function(){
$(".show").click(function(){
     var hoge =$(".show").index(this);
     var hoge =$(".show").index(this);
-
     alert($(".show").index(this);
+
     alert($(hoge);
     $("overlay").eq(hoge).show(500);
     $("overlay").eq(hoge).show(500);
   });
   });

Revision as of 14:34, 29 September 2014