• 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)

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    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.

    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.

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

    “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.

    “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.”

    https://ajaxpatterns.org/Accessibility_Links

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Need Accordion effect to expand/collapse post &/or page content’ is closed to new replies.