Template:Team:HokkaidoU Japan/javascripts/accordion.js
From 2012.igem.org
(Difference between revisions)
(Created page with "<html><script type="text/javascript"> $('#hokkaidou-column-nav-accordion > ul > li > span').click(function(){ $(this).next('ul').slideToggle(); $(this).toggleClass('hokka...") |
|||
(3 intermediate revisions not shown) | |||
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(){ |
$(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> |
Latest revision as of 11:49, 14 July 2012