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