bootstrap nav link
PermalinkCan anyone help me?
<script type="text/javascript">$(document).ready(function() { $('.nav li.dropdown').hover(function() { $(this).addClass('open'); }, function() { $(this).removeClass('open'); }); });</script>
or this code
<script type="text/javascript"> $('ul.nav li.dropdown').hover(function() { $(this).find('.dropdown-menu').stop(true, true).delay(200).slideDown(500); }, function() { $(this).find('.dropdown-menu').stop(true, true).delay(200).slideUp(500); });</script>
(the second one is better for me)
and it works for me, but I'm not able to link the parent item. So I have the dropdown on hover but I haven't the "href" in first item.
https://github.com/CWSpear/twitter-bootstrap-hover-dropdown...
That would allow you to hover on the menu item and have it open the menu rather than having to click it. Then I believe you should just be able to set the href on the parent.
I haven't used that plugin before so I can't say for sure if it will work for you, but I think it should.