Hi all,
I am trying to change the functionality of this custom built mega menu and currently it opens and closes the dropdown on click. I need to change it to hover functionatlity but right now everything I’ve tried doesn’t allow for the dropdown to stay open when I try to go to one of the submenu items…
current javascript:
$(‘.navigation-desktop h5’).mouseenter(function(){
$(this).toggleClass(‘active’).siblings().removeClass(‘active’);
$(this).next().toggleClass(‘show’).siblings().removeClass(‘show’);
if ($(“.dropdown-menu”).hasClass(“show”)) {
$(“#PureChatWidget”).hide();
} else {
$(“#PureChatWidget”).show();
}
});
