Currently, the code is configured to toggle the same menu for every icon.
To see my current progress, you can check out this fiddle: http://jsfiddle.net/2Lyttauv/
My goal is to have a unique menu for each individual icon.
I began 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>
Next, I want to add a second menu to
navItem2
the second icon in the sidebar
I attempted creating a second menu using identical HTML as above but with a different id="slider-menu-s1
and tried implementing a separate function, however, it did not seem to work.
If anyone could offer assistance or guide me in the right direction, it would be greatly appreciated.