Created
December 13, 2016 11:49
-
-
Save diomed/3b95a6382d022950d7c5666329d35f5d to your computer and use it in GitHub Desktop.
boostrap hover over menu so it nicely slides down
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$('ul.nav li.dropdown').hover(function() { | |
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(); | |
}, | |
function() { | |
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut().hover(function() { | |
$(this).stop(true, true);}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment