Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$('.sub-menu').hide ();
$('.mainmenu li').hover (
function () {
$(this).addClass('active');
$('ul:first', this).fadeIn ();
},
function () {
$(this).removeClass('active');
$('ul:first', this).delay(100).fadeOut ();
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.