Template:Team:HokkaidoU Japan/javascripts
From 2012.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
); | ); | ||
$('#hokkaidou-column-nav > ul > li').click(function(e){ | $('#hokkaidou-column-nav > ul > li').click(function(e){ | ||
- | $(this).children('ul'). | + | $(this).children('ul').slideToggle(); |
- | }); | + | $(this).children('.caret').toggleClass('caret-left'); |
+ | $(this).children('.caret').toggleClass('caret-bottom'); | ||
+ | }).children('ul').hide(); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 16:03, 25 September 2012