Revision: 67836
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 31, 2014 02:37 by madebycrunch
Initial Code
$('.accordion div.tab').on('click', function() { $(this).next().slideToggle(); }); $(".accordion div.tab a").on('click', function() { if ($(this).attr("class") == "active") $(this).removeClass("active"); else $(this).addClass("active"); });
Initial URL
Initial Description
jQuery - Page Component - Accordion
Initial Title
jQuery - Page Component - Accordion
Initial Tags
Initial Language
jQuery