Section 1

Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque.

Section 2

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus.

Section 3

Nam enim risus, molestie et, porta ac, aliquam ac, risus.

Section 4

Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.


http://jqueryui.com/accordion/#collapsible

Java Accordion

Click headers to expand/collapse content that is broken into logical sections, much like tabs. Optionally, toggle sections open/closed on mouseover.

The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is usable without JavaScript.

By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the collapsibleoption to true. Click on the currently open section to collapse its content pane.

Customize the header icons with the icons option, which accepts classes for the header's default and active (open) state. Use any class from the UI CSS framework, or create custom classes with background images.

Because the accordion is comprised of block-level elements, by default its width fills the available horizontal space. To fill the vertical space allocated by its container, set the heightStyle option to "fill", and the script will automatically set the dimensions of the accordion to the height of its parent container.

Setting heightStyle: "content" allows the accordion panels to keep their native height.

Drag the header to re-order panels.

jQuery UI Accordion - Default functionality

Look what your $25 donation will do...

  • keeps our computer center open for a day
  • gives a teen a job for one evening providing childcare during Life Skills Classes

See what $50 will do...

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

Section 3

Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

  • List item one
  • List item two
  • List item three

Section 4

Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.