I’ve got a Side Nav where i wish each list item in the navigation to be clickable, which initiates a toggle of further options for that section.
I’ve got a fiddle of my rough code thus far to try demonstrate what i’m talking about. The red column would be the toggled section triggered by each link on the first column. However my main issues is the best way to achieve this efficiently. Obviously there are 7 links, which means 7 toggles i would need.
JS fiddle: http://jsfiddle.net/visualdecree/Be6ry/31/ *edit – I require the 7 links to all have a separate div that toggles in with different options.
Would i have 7 hidden divs that are toggled by 7 different triggers?
Any help with this would be appreciated.
jQuery:
Side Nav HTML:
Side Nav Panel HTML:
CSS:
SEE DEMO