Skip to content

codebyksalting/jquery-accrdion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Accordion Plugin

A simple configurable jQuery Accordion plugin.

Requirements

  • jQuery 3.5.1+

Installation

Include the script in the footer

<script src="./jquery.accrdion.js"></script>

Configuration

// Default options
var configuration = $.extend({
    openFirstByDefault: true,   // [true, false]
    displayStyle: 'single',     // ['single', 'any']
    toggleSpeed: 400,           // [milliseconds, 'slow', 'fast']
    scrollToActive: true,       // [true, false]
    scrollSpeed: 500,           // [milliseconds]
}, options );

Browser Compatibility

Buy Me Coffee

ko-fi

About

A simple configurable jQuery Accordion plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published