I'm trying to include a "next" button in my accordion panels, but I'm not
sure how to make it function. I have the panels sliding up and adding an
"active" class fine when you click the panel headers, but I want to
replicate  this functionality on a "next" button also. Here's my page:
http://dev.emsix.com/phd/default.asp

Here's my accordion code:
$("#floor-widget h3:first").addClass("active");
        $("#floor-widget div.options:not(:first)").hide();

        $("#floor-widget h3").click(function(){
                $(this).next("div.options").slideToggle("normal")
                .siblings("div.options:visible").slideUp("normal");
                $(this).toggleClass("active");
                $(this).siblings("h3").removeClass("active");
        });


Any help would be appreciated!
-- 
View this message in context: 
http://www.nabble.com/%27next%27-button-to-open-next-accordion-panel-tp19781950s27240p19781950.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to