Currently the code is set up to toggle the same menu for every icon.
Here is a fiddle of my current progress http://jsfiddle.net/2Lyttauv/
What I want to achieve is adding a unique menu for each individual icon.
I started by creating the following HTML
<nav class="slider-menu slider-menu-vertical slider-menu-left" id="slider-menu-s1">
<h3>MENU</h3>
<a href="#"><span class="icon-flag"></span>Item 1</a>
<a href="#"><span class="icon-flag"></span>Item 2</a>
<a href="#"><span class="icon-flag"></span>Item 3</a>
<a href="#"><span class="icon-flag"></span>Item 4</a>
<a href="#"><span class="icon-flag"></span>Item 5</a>
<a href="#"><span class="icon-flag"></span>Item 6</a>
<a href="#"><span class="icon-flag"></span>Item 7</a>
</nav>
Now I'd like to add a second menu to
navItem2
the second icon in the sidebar
I've tried creating a second menu using the exact same HTML from above except that I've changed the id="slider-menu-s1
and proceeded to make a separate function but that didn't seemed to work.
If anyone could help or point me in the right direction.