I have a navigational structure like in the images below.
What I want is to display a list of all the patterns when clicking through the All UI Patterns menu item. It also needs to be the active menu item (that’s the easy part though). But then, because the Product Slider is conceptually a sibling of All UI Patterns, the parent (All UI Patterns) need to remain active.
Currently I’ve put the patterns in a folder but that doesnt help because I cant use the folder as a destination link.
Just to clarify for others in the future, here’s what I did:
I gave an ID to the parent of the menu item links. In Sam’s example above, it’s called #menu, but I called mine #all-ui-patterns. You can call it whatever you want to.
I then copied the script to the head tag of every page I wanted to have an active state.