Buy now!

NinjaAccordion

The NinjaAccordion plugin is a great solution to compress a lot of content into a small area or for those who wants to create a small menu.

References

Add those references into your website:

                        
                        
                        
                        

                        
                        
                        
                    

And the plugin files:

                        
                        
                    

Call NinjaAccordion method to initialize the plugin:

                        $(document).ready(function(){
                            $("#myAccordion").ninjaAccordion();
                        });
                    

Options

                            .ninjaAccordion({
                                toggle: false               //-- set if you want to collapse all other itens when one is oppened
                            );
                        

Methods

Name

Description

Sample

ninjaAccordion({options})

Initialize the plugin to the specified selector.

$("#myAccordion").ninjaAccordion()