Template:Team:HokkaidoU Japan/javascripts/notebook.js
From 2012.igem.org
(Difference between revisions)
(Created page with "$(function(){ $('.hokkaidou-notebook-daily').click(){ $(this).children('div').toggle(); } });") |
|||
(6 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
+ | <html><script type="text/javascript"> | ||
$(function(){ | $(function(){ | ||
- | $('.hokkaidou-notebook-daily').click(){ | + | $('.hokkaidou-notebook-daily > h2').click(function(){ |
- | $(this). | + | $(this).next('div').toggle('normal'); |
- | } | + | $(this).toggleClass('open'); |
+ | }); | ||
}); | }); | ||
+ | </script></html> |
Latest revision as of 10:08, 16 July 2012