Template:Team:HokkaidoU Japan/About Us/JS
From 2014.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
return false; | return false; | ||
}); | }); | ||
+ | |||
+ | //オーバーレイ系のjs | ||
+ | $("img").click(function() { | ||
+ | id = $(this).attr("id"); // idの取得 | ||
+ | function(){ | ||
+ | $(".overlay+id").show(500); | ||
+ | }); | ||
+ | }); | ||
//オーバーレイを表示 | //オーバーレイを表示 |
Revision as of 08:33, 29 September 2014