1. Introduction
The Stack Menu is a simple jQuery plugin to create a vertical navigation menu with submenu. The plugin takes unordered HTML components (ul elements) and creates a vertical menu with nested elements. The resulting menu is fully customizable and easy to adapt. User can navigate using back and forward buttons and select choosed links.
2. Plugin Overview
Library | jquery-stack-menu |
Author | Max Zhurkin |
Licence | MIT Licence |
Repository | GitHub |
Dependencies | jQuery 1.3.1 |
3. How to install jquery-stack-menu plugin
Follow these steps in order to install Stack Menu jQuery plugin.
1. first load the jQuery in your HTML document
2. second, install jquery-stack-menu CSS styles and JavaScripts
3. the last step is to place jquery-stack-menu plugin initialization script
The plugin takes unordered items on the list and creates a vertical menu that can be used in navigation. The unordered list must be wrapped with other ui elements for example div.
4. Conclusion
In this article, we presented a Vertical Menu with Submenu plugin written in jQuery. The plugin should be useful for anyone who wants to create simple navigation panel based on HTML unordered (UL) tree structure.
{{ 'Comments (%count%)' | trans {count:count} }}
{{ 'Comments are closed.' | trans }}