jQuery UI LibraryAccordion

Syntax

  • $(function() { $( "#selecter" ).accordion(); });
  • $(function() { $( "#selecter" ).accordion({ active: 2 }); });
  • $(function() { $( "#selecter" ).accordion({ animate: 200 }); });
  • $(function() { $( "#selecter" ).accordion({ collapsible: true }); });

Parameters

ParameterDetail
activeType Boolean or Integer, Boolean requires collapsible to be true
animateType Boolean, Number, String or Object
collapsibleType Boolean
eventType String
headerType Selector element
heightStyleType String
iconsType jQuery UI icon object

Remarks

More information can be found here: http://api.jqueryui.com/accordion/

Related Examples

Accordion Basic Usage