Skip to content

Instantly share code, notes, and snippets.

@mrkacan
Created June 27, 2018 12:33
Show Gist options
  • Save mrkacan/e7c1a978ad848ab0fcd2bdc22f8289db to your computer and use it in GitHub Desktop.
Save mrkacan/e7c1a978ad848ab0fcd2bdc22f8289db to your computer and use it in GitHub Desktop.
Jquery on hover menu
$('.dropdownLi').on('mouseenter',function () {
$(this).children('ul').slideDown(300).css('display', 'block');
$(".dropdownLi").mouseleave(function () {
$(".dropdownSection").fadeOut(300)
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment