css - After 2nd <li> the submenu is disappearing -


i did change bootstrap 3 drop-down behavior on click on hover adding css

.dropdown:hover .dropdown-menu {     display: block; } 

it's working. sub-menu has more 2 <li> tags , when hovering below 2nd <li> sub-menu disappear.

<li class="dropdown">     <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="true">exhibitor <span class="caret"></span></a>     <ul class="dropdown-menu" role="menu">         <li><a href="#">opportunities</a></li>         <li><a href="#">exhibitor list</a></li>         <li><a href="#">market information</a></li>         <li><a href="#">floor plan</a></li>         <li><a href="#">pricing</a></li>     </ul> </li> 

i can hover until <li><a href="#">exhibitor list</a></li> only.

when reach <li><a href="#">market information</a></li> sub-menu disappears.

the problem element:

<body>     […]     <section style="position: absolute;left: 0;right: 0;top: 100px;z-index:4000;">[…]</section> </body> 

it invisible stripe above menu @ around third element. has higher z-index you'll leave menu when hovering element.

ps: it's container holds links exhibitor list, floor plan , opportunities.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -