I have a mockup here
When I click
Menu2 -> Sub1
And then subsequently click Sub2 I would like Sub1 to close. Similarly if I click
Menu2 -> Sub1 -> Blah1
And then subsequently click Blah2 I would like Blah1 to close. How can I do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
try this fiddle – http://jsfiddle.net/wxXav/