Accordian Lists

Part 1: The old way, using javascript and a DIV wrapper.


Starting collapsed. Click on heading to open.

Section Heading One


Starting expanded. Click on heading to close.

Section Heading Two

These details are inside a DIV just like the example above, except the CSS is initially set to display: block.

This works well in that all information is accessible even without JavaScript. If JavaScript is disabled, the only functionality lost is the ability to collapse sections.


Back | Next