1

Possible Duplicate:
Allow click on twitter bootstrap dropdown toggle link?

Well guys, I'm a little confused with the bootstrap navbar. I changed the dropdown menu active on :hover, like this fiddle http://jsfiddle.net/ekjxu/, works fine. But what I wonder, how to make the first level menu of the dropdown menu?

  1. First Menu (dropdown on :hover and clickable link)
    • 1st Submenu
    • 2nd Submenu
  2. Third Menu
  3. Fourth Menu

Thanks for any help.

4
  • Could you be more clear ? I don't get what you are trying to do. Oct 1, 2012 at 14:22
  • @Cfontes as you can see, in my nav-bar menu: When I hover on (1. First Menu), it triggers the dropdown (that contains • 1st Submenu and • 2nd Submenu). As a normal link (menu)... (1. First Menu) (href to somewhere.com/link) should be clickable and go through somewhere.com/link. What happen here, This (1. First Menu) only trigger the dropdown, no go to the link I want to make (1. First Menu) clickable and go to somewhere.com/link
    – Edy Pang
    Oct 1, 2012 at 14:34
  • I answered this a few days ago - link. Note that it won't work on jsfiddle as they don't seem to let you redirect with anchors (although @Cfontes solution seems to work when setting target to parent) Oct 1, 2012 at 16:19
  • @Ben I've flagged as duplicate Oct 1, 2012 at 21:54

1 Answer 1

2

If it's ok to open it in another window this should do it:

On other tab

otherwise this opens it in the same tab

Same tab

1
  • Thank for the help. The fact is, I can't implement it when integrate it to real bootstrap. Nothing changes. Looks like I should dig more.
    – Edy Pang
    Oct 1, 2012 at 15:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.