WordPress.org

Ready to get started?Download WordPress

Forums

Need Accordion effect to expand/collapse post &/or page content (7 posts)

  1. searchen
    Member
    Posted 7 years ago #

    Hi!

    I would like to find a plugin to allow me to collapse content, WITHIN a post or a page.

    This would be great for a FAQ type expansion, where only the question is visible, but on clicking it expands to show the answer.

    Does such a plugin exist, or can someone point me to a solution?

    Thanks
    Peter

    (I am using WP 2.1.2)

  2. pizdin_dim
    Member
    Posted 7 years ago #

    I'm not aware of a plugin, possibly because of it's unusual nature. Personally, I'd only consider the collapse-expand feature useful if there were hundreds of Q's and A's. Presumably it should only work with javascript-enabled browsers too, which might be another reason why nobody has written anything yet. If you haven't already done so, check out wp-plugins.

  3. Kahil
    Member
    Posted 7 years ago #

    sounds like you are describing ajax. I believe that there are plugins that can do this using ajax. Just keep in mind that using a lot of scripts can cause performance slowdowns on some sites...but that all depends on how it is implemented and hosts.

  4. t0v3
    Member
    Posted 7 years ago #

    I'm not aware of a plugin, possibly because of it's unusual nature.

    Unusual? I don't browse many sites but i've seen tables which collapse and expand quite often. It's a good way to compact info which users find of no importance.

    Also, no one would choose not to write a plugin simply because it uses java, that's just silly.

  5. LK
    Member
    Posted 7 years ago #

    Dennis wrote a plugin based on the moo.fx library -- you can find it here.

  6. pizdin_dim
    Member
    Posted 7 years ago #

    "It's a good way to compact info which users find of no importance."

    It depends on how you look at it. Forcing a user to click on something just to see that section of the page is counter-productive, as far as I'm concerned.

    "Also, no one would choose not to write a plugin simply because it uses java, that's just silly."

    Lots of people would, mainly because the impact JS has on usability and accessibility. It just depends on whether those things are of importance to you or not.

  7. pizdin_dim
    Member
    Posted 7 years ago #

    "Examples of scripting that improve accessibility are infrequent and extremely rare. Whilst there has been much discussion around some of the techniques as listed below, many accessibility experts agree that few scripting techniques are genuinely accessible. For instance a genuine accessible drop down list is not available, though many have tried to create one."

    http://ajaxpatterns.org/Accessibility_Links

Topic Closed

This topic has been closed to new replies.

About this Topic