/ Published in: jQuery
Expand |
Embed | Plain Text
$(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"); });
Comments
Subscribe to comments
You need to login to post a comment.

Code snippet - JQuery Expanding div with toggle on Snipplr