Template:Team:HokkaidoU Japan/javascripts/accordion.js
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html><script type="text/javascript"> | <html><script type="text/javascript"> | ||
- | $('#hokkaidou-column-nav-accordion | + | $('#hokkaidou-column-nav-accordion > li > span').click(function(){ |
- | + | console.log('hello') | |
$(this).next('ul').slideToggle(); | $(this).next('ul').slideToggle(); | ||
$(this).toggleClass('hokkaidou-column-nav-accordion-active'); | $(this).toggleClass('hokkaidou-column-nav-accordion-active'); | ||
}); | }); | ||
</script></html> | </script></html> |
Revision as of 11:47, 14 July 2012