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 > ul > li > span').click(function(){ | $('#hokkaidou-column-nav-accordion > ul > li > span').click(function(){ | ||
- | + | alert('clicked!'); | |
$(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:46, 14 July 2012