Toggle Class

Toggle Class

Hi Everyone,

Ive a quick question if someone could help me with.

I have a simple toggle effect on my menu. Its similar to an accordian effect, but I want the user to be able to open as many links as possible. That is why I went for the Toggle effect instead of the accordian UI effect.

But my question is, when a user clicks on a page. I want the toggle menu to be open on default. So it displays all the sublinks. and they can toggle all the other links but whatever page they are on it is open on default.

Does anyone have an idea to put me in the right direction.