jCollapser (a jQuery element collapser) v1.2.2
What is jCollapser? It is a jQuery plugin to help ease the creation of multiple collapsable elements on a page.
Init code for the above
$(function() {
$("#example1").jcollapser({target: '#jcollapse1', state: 'expanded'});
$("#example2").jcollapser({target: '#jcollapse2', state: 'collapsed'});
});
There, that is all needed for it.
One could also generate the contents and the whole structure with for example PHP.
Download
Get all the information from here
2009 Peter Halasz - Design and development