WordPress.org

Ready to get started?Download WordPress

Forums

WP UI - Tabs, Accordions, Sliders
default collapsing all tabs in accordion (1 post)

  1. amyboyack
    Member
    Posted 1 year ago #

    I would like to either have the tabs all collapsed in the accordion when the page loads, or have the spoiler only open one tab at a time. So, if one tab is open, the others will automatically close. There must be a way to add this functionality. Where would I change the code to do this? I have found a site that explains a little, but I don't know if it relates to this plugin or where I would change the code. http://stackoverflow.com/questions/6946908/jquery-accordion-how-to-collapse-other-open-accordion-panes-when-another-one-i

    The site I am currently working on is here: http://healthcoachva.com/done-for-you-solutions/

    As you can see, I am using spoilers to be able to collapse all tabs, but when one section opens, the others stay open, so I would like to change that.

    Thank you for your time and for creating a great plugin.
    Amy

    http://wordpress.org/extend/plugins/wp-ui/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic