- About
-
This lightweight (1.2 KB) JavaScript accordion can easily be customized to integrate with any website. For more information visit leigeber.com.
- Instructions
-
To initialize an accordion use the following code:
var mySlider=new accordion.slider("mySlider");
mySlider.init("slider",0,"open");
The init function takes 3 parameters: the id of the "dl", the location of the initially expanded section (optional) and the class for the active header (optional).
- Licensing & Support
-
This script is provided as-is with no warranty or guarantee. It is available at no cost for any project, non-commercial or commercial. Paid support is available by clicking here.
- About
-
This lightweight (1.2 KB) JavaScript accordion can easily be customized to integrate with any website. For more information visit leigeber.com/
- Instructions
-
To initialize an accordion use the following code:
var mySlider=new accordion.slider("mySlider");
mySlider.init("slider",0,"open");
The init function takes 3 parameters: the id of the "dl", the location of the initially expanded section (optional) and the class for the active header (optional).
- Licensing & Support
-
This script is provided as-is with no warranty or guarantee. It is available at no cost for any project, non-commercial or commercial. Paid support is available by clicking here.