Convert any html menu to mobile responsive menu

back to snippest | Comment | Share

Ace responsive menu is a lightweight jQuery plugin to create responsive multi-level navigation menus with multi device support. Ace responsive menu comes with 3 variants like horizontal, vertical and accordion menu. It gives complete responsive menu solution for any kind of websites or admin templates. The plugin has clean and well commented valid code, easy to Integrate and modify.

Features
Fully Responsive multi-level Menu
Menu Styles: Horizontal, Vertical and Accordion menu
4-Level Menu support
Icon Support [Integrated with FontAwesome] Click / Hover Events
Lightweight jQuery script
Valid HTML5 and CSS3
Bootstrap Compatible
Easy to Integrate & customize
Cross-browser support
Clean and well commented code

You can get it from here
https://github.com/samsono/Ace-Responsive-Menu

or simply embed the following into your website

and for the css

You must attach the nav to the page with the toggler or the trigger button

I do recommend to center the menu Left or Right, and adding arrows to the menu css hierarchy as following

now you have to call the UL or the menu that you want to attach it to the responsive menu, first you need to get the menu html content then attach it the to ace Responsive menu as following

In case you have multilevel menu, and you need to manage the clicks on navigation menu to show and hide menu items and make the link logic clickable, we have a smart trick to divide the nav item into left and right side so once we click on the right side we execute the link href and once we click left we just show and hide the menu 😀

Here is a complete action of js

You might attach this into wordpress header or footer as following

you might add some fancy staff like advanced toggler

About the Author

Hi! I'm Ahmad. I have a degree in Computer Science from Birzeit University and you might call me a bit of computer geek. I am the Founder of Greenbackend Turnkey Solutions a leading Cloud and Hosting Company in the Middle East, Also I am the Founder of Ahmad Naser Turnkey Solutions in Harvey, LA, USA. I'm comfortable with a large range of languages and techniques. After implementing enterprise applications using Salesforce and Siebel CRM for 3 years and with professional experience in building websites, cloud apps, iOS apps, Unity games, Android mobile apps and educational games for 8 years. I decided to share my technical knowledge with people all over the world to benefit from my experience and build their own careers specially because I am a real world example with over 20 successful apps on Google Play Store, Asset Store and Apple Store, So your success is mine and I want to help you reach your goals step by step exactly as I do. I'm passionate about teaching people about technologies, so from time to time I gave courses online and in learning centers and teach beginners and professionals on many technologies and development frameworks. One of my greatest goals in life is growing the next generation of software professionals and to keep teaching programming at every opportunity I get. I can't wait to help you experience the achievement and financial freedom that having a deep understanding of technology brings. So why not start learning to design & develop now by joining our epic Unity 3D professional 2d game development course? See you soon! Ahmad

>