I use below jQuery script to fade in my dropdown-menu. How do I use easing in this example?
$('ul.navbar-nav li.dropdown').hover(function() {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(50);
},
function() {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(50);
});
As mentioned in jQuery fadeIn documentation,
Here is the syntax
Here is an example