Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Ace responsive menu is a lightweight jQuery plugin to create responsive multi-level navigation menus with multi device support.
Ace Responsive Menu is a lightweight jQuery plugin that creates responsive multi-level navigation menus for websites and admin templates, supporting horizontal, vertical, and accordion layouts.
Ace Responsive Menu is a lightweight jQuery plugin that turns a nested HTML list into a responsive multi-level navigation menu. It accepts standard HTML markup with unordered lists and optional FontAwesome icons, and outputs a menu that collapses into a toggle button on smaller screens. The plugin is built by Samson (email: [email protected]) and is available as a public GitHub repository. It supports three display modes — horizontal, vertical, and accordion — and is compatible with Bootstrap.
data-menu-style attribute on the root ul element.resizeWidth option to match your CSS breakpoint.The plugin needs three assets: jQuery, the ace-responsive-menu.js file, and ace-responsive-menu.css. You add a <nav> with a .menu-toggle button and a <ul class="ace-responsive-menu"> containing nested <li><ul> for submenus. Then initialize it with $("#demoMenu").aceResponsiveMenu(); and optionally set parameters like resizeWidth: '768', animationSpeed: 'fast', and accoridonExpAll: false to control the breakpoint, animation speed, and accordion expansion behavior.
The plugin was tested with Internet Explorer 7+, Firefox 3+, Chrome 4+, Safari 4+, and Opera 10+. Because it uses standard jQuery techniques, it is expected to work in current versions of those browsers as well, though the official test list stops at older versions.
The source code is publicly available on GitHub, where the repository shows 53 stars. The page does not mention a license, but it is distributed as a freely downloadable jQuery plugin.
Set the data-menu-style attribute on the root ul element to horizontal, vertical, or accordion. For example, <ul id="demoMenu" class="ace-responsive-menu" data-menu-style="horizontal"> produces a horizontal menu.
You can pass an object with three optional parameters: resizeWidth (a string like '768' to match your CSS media query breakpoint), animationSpeed (slow, medium, or fast), and accoridonExpAll (a boolean that expands all accordion items on click when true).
Yes, the plugin is explicitly labeled Bootstrap compatible, so it can be used inside Bootstrap-based pages without conflicting with Bootstrap's own navigation and grid styles.
