[jQuery] Re: accordion doesn't work with more than one paragraph per heading

2008-04-01 Thread Jörn Zaefferer
pab schrieb: $(document).ready(function(){ $(".accordion h2:first").addClass("active"); $(".accordion p:not(:first)").hide(); $(".accordion h2").click(function(){ $(this).next("p").slideToggle("slow") .siblings("p:visible").slideUp("slow");

[jQuery] Re: accordion doesn't work with more than one paragraph per heading

2008-03-30 Thread Karl Swedberg
Are you the one who asked this same question on learningjquery.com? If so, please take a look at my answer there: http://www.learningjquery.com/2007/12/questions-and-answers-from-the-list Thanks, --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 29