Skip to content

From scratch multi-level accordion navigation with SASS and jQuery

Notifications You must be signed in to change notification settings

franklang/nkd-accordion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nkd-accordion

A minimalist ready-to-use and skin HTML5/SASS/jQuery multi-level accordion navigation.

Live demo: https://jsfiddle.net/oatksfjf/2/

Options

By default, all clicked items remain open until you click them again. Set closeAll option to true if you want all previously opened items to close when clicking a new one from root level.

  $('#myAccordion').nkdAccordion({
    closeAll: true
  });

Destroy the accordion. This reverts all accordion elements back to their original state (before calling the accordion).

  $('#myAccordion').nkdAccordionDestroy();

About

From scratch multi-level accordion navigation with SASS and jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published