Template:Team:HokkaidoU Japan/javascripts/accordion.js

From 2012.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
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 > 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>

Latest revision as of 11:49, 14 July 2012