I like to know if its possible to have two nav’s at the same time.
Here is a JSFiddle with the bootstrap test with only the collapse JavaScript for the navbar. Both menus get expanded at the same time, is there a way to prevent that?
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.
You can, all you have to do is differentiate the
data-targetattribute with a unique class or id for your dropdown menus like so:For your first dropdown
For your second dropdown:
Then you can add that unique id to your nav collapse container:
First
Second
Demo: http://jsfiddle.net/F2tYu/3/