-1

i found solution here : http://www.smartmenus.org/

I am using bootstrap fixed nav, I customized it a bit so that instead of clicking menu when someone hover over the menu sub it will be displayed.

This is the code I added:

ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;    
}

and this is the structure of the HTML:

<li class="dropdown">
    <a href="#" 
       class="dropdown-toggle" 
       data-toggle="dropdown" 
       role="button"  
       arial-expanded="false"> Top Menu
    </a>
<ul class="dropdown-menu">
    <li><a href="submenu.php">submenu</a></li>
    <li><a href="submenu.php">submenu</a></li>
    <li><a href="submenu.php">submenu</a></li>
    </li>
</ul>

When hovered over parent menu it displays bottom menu but when I go to sub menu parent menu hover state is gone, it should be selected in that situation. Can someone please help me how to implement it in bootstrap 3.0

Sikander
  • 2,799
  • 12
  • 48
  • 100
  • possible duplicate of [How to make twitter bootstrap menu dropdown on hover rather than click](http://stackoverflow.com/questions/8878033/how-to-make-twitter-bootstrap-menu-dropdown-on-hover-rather-than-click) – Jason Bassett Jan 22 '15 at 14:24