ACCORDION EXAMPLE

Single click title bar for any tab to show its content.

Overview
HTML Code
Rico Code

To attach the accordion behavior to the accordion container div, construct a Rico.Accordion object and pass the container to it. Thats it!
new Rico.Accordion( $('accordionDiv') );
 -or-
new Rico.Accordion( $('accordionDiv'), {panelHeight:300} );
The second example specifies the height of the accordion panels. There are many other configuration parameters that can be specified to modify various visual aspects of the accordion. The panelHeight is the attribute that is most commonly overridden.
Important Note