pierrebalian
9/25/2017 - 5:40 PM

js for activating bootstrap nav dropdowns on hover instead of click

js for activating bootstrap nav dropdowns on hover instead of click

$('ul.nav li.dropdown').hover(function() {
  $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(500);
}, function() {
  $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(500);
});