WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] Only having one expandable list open at a time (4 posts)

  1. Spleenkle
    Member
    Posted 1 year ago #

    Hi

    I hope this make sense. I've read about the 'highlander' setting, but that seems to be for headings/links in the same group.

    Is it possible to use the 'highlander' effect for everything on the page? Only one link (and it's sub categories) can be expanded at a time. When a new one opens, the old expandable one closes.

    Eg. When Heading 1 is expanded, and I expand Heading 2, Heading 1 should then close up again.

    Any help would be appreciated, thanks!

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    The rel attribute allows the user to group expand elements by attribute value. Expanding a member of one group will automatically collapse any expanded elements the belong to another group.
    http://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/#rel

  3. Spleenkle
    Member
    Posted 1 year ago #

    Great, thanks for the help, I really appreciate it.

  4. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    You are very welcome. Let us know if you run into any more problems--happy to help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.