Alan Simpson

Alan Simpson

Code Quickies

More Code Quickies

Collapsible Panels

This page offers some relatively simple code for collapsible panels. Click the top bar of any panel to expand or collapse.

Click anywhere on this top bar to expand or collapse.

You can put any content here inside the panel.

Another collapsible panel here

Any content you like here

Here are the images I used for the arrows on the top of the panel. You can right-click each one to download. Their names are collapse.png and expand.png.
  • Download clean source code here.