Thank you for choosing Accordion A.
| Name | Path |
| jQuery | https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js |
| jQuery UI - widget factory | js/jquery.ui.widget.min.js |
| jQuery plugin | js/jquery.accordion-a-1.0.js |
| jQuery plugin, minified | js/jquery.accordion-a-1.0.min.js |
| Base stylesheet | css/accordion-a.css |
| Minimal theme | css/accordion-a.minimal.css |
| Empty theme | css/accordion-a.empty.css |
| Demo | demo/accordion-a.html |
| Dark demo | demo/dark.html |
| Documentation | documentaton/documentation.html |
Open the HTML document you want to integrate Accordion A in.
<link rel="stylesheet" href="css/accordion-a.css" />
Paste the above code within the head tags.
<link rel="stylesheet" href="css/accordion-a.minimal.css" />
Paste the above code within the head tags.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
Paste the above code at the bottom, before the body closing tag.
<script src="js/jquery.ui.widget.min.js"></script>
Paste the above code at the bottom, before the body closing tag.
<script src="js/jquery.accordion-a-1.0.min.js"></script>
Paste the above code at the bottom, before the body closing tag.
$('selector').accordionA()
Replace selector with the jQuery selector pointing to the HTML Accordion A element(s).
.accordionA('destroy')
Remove the accordionA functionality completely. This will return the element back to its pre-init state.
.accordionA('option', optionName, [value])
Get or set any accordionA option. If no value is specified, will act as a getter.
.accordionA('option', options)
Set multiple accordionA options at once by providing an options object.
.accordionA('toggle', 'selector', [expand])
.accordionA({
section: '> section',
header: '> header',
content: '> .content',
})
A string with a jQuery selector pointing to the section element.
A string with a jQuery selector pointing to the section's header element.
A string with a jQuery selector pointing to the section's content grouping element.
This event is triggered when accordionA is created.
$('selector').accordionA({
create: function(event) {
}
});
$('selector').bind('accordionacreate', function(event) {
});
This event is triggered when a section is toggled.
$('selector').accordionA({
toggle: function(event, accordiona) {
}
});
$('selector').bind('accordionatoggle', function(event, accordiona) {
});
| Classname | Description | Scope |
| content | The content inside a section. | .accordion-a section * |
| no-outline | Indicates that there should be no outline. | .accordion-a header |
| no-transition | Indicates that there should be no transition. E.g applied during initialization. | .accordion-a header |
If you're experiencing any problems or do have a question, you may contact support via one of the following ways: