Template:Team:HokkaidoU Japan/About Us/JS
From 2014.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
return false; | return false; | ||
}); | }); | ||
+ | $('.show').click(function(){ | ||
+ | var member-name =$(".show").index(this); | ||
+ | $('overlay').eq(member-name).show(500); | ||
+ | }); | ||
- | + | $(".show-ymzk").click(function(){ | |
- | + | $(".overlay-ymzk").show(500); | |
}); | }); | ||
+ | |||
+ | $(".overlay-ymzk").click(function(){ | ||
+ | $(this).hide(500); | ||
+ | }); | ||
+ | |||
+ | $(".overlay-content-ymzk").click(function(e){ | ||
+ | e.stopPropagation(); | ||
+ | }); | ||
+ | |||
//オーバーレイ | //オーバーレイ | ||
- | $(". | + | $(".show-ymzk").click(function(){ |
$(".overlay-ymzk").show(500); | $(".overlay-ymzk").show(500); | ||
}); | }); |
Revision as of 14:20, 29 September 2014