In an effort to solve this problem, I sat down and tried to create the world’s most simple accordion menu. My goal was to strip out the complicated configuration and styling options common in most menus. The goal was to build a reasonably good looking menu with the least amount of code possible. Admittedly, this menu system won’t work for everyone, but it should be something that can be easily modified for nearly any application.
The code below is for the faster and simpler version 3. Give it a try and feel free to leave a comment if you have any questions.
I have a complete working demo of the menu available here:
You can download the entire menu source by clicking here:
If you would like to play with the menu and test code modifications I have a Fiddle available here: http://jsfiddle.net/ryanstemkoski/6gbq0yLv/