/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function(){ $(".faq").hide(); $("h3.faq_head").click(function(){ $(this).next(".faq").slideToggle(250); $(this).toggleClass("hover_subtract").toggleClass("hover"); }); $("h3.faq_head").addClass("hover"); });