Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Veronica 1 post 71 karma points
    Feb 05, 2016 @ 02:35
    Veronica
    0

    How do I create collapsible text

    Hi, I'm not sure I'm using the right vocabulary here, but I would like to have text on the page - a header basically which, when expanded, shows more text. You see this often on pages where you click on a plus sign to expand hidden text, and the minus to collapse it again.

    Can anyone tell me how to do that?

  • Darren Wilson 235 posts 623 karma points
    Feb 05, 2016 @ 09:22
    Darren Wilson
    0

    Hi Veronica,

    There are loads of free snippets of jquery and css out there for collapsible panels (sometimes they are called Accordions).

    If you are building your site using Bootstrap they have an in-built collapsible panel that is really easy to customise.

    http://getbootstrap.com/javascript/#collapse

    Hope this helps

    Darren

Please Sign in or register to post replies

Write your reply to:

Draft