Reply To: Hiding the dropdown menu at the desktop level only

Home Forums Older releases 1.0.x + Bootstrap addon Hiding the dropdown menu at the desktop level only Reply To: Hiding the dropdown menu at the desktop level only

#2702
admin
Keymaster

Hi, something like this should do the trick:

$(function() {
	// disable the sub menus in desktop mode
	$('#main-menu').bind('activate.smapi', function(e, item) {
		if (!$(this).data('smartmenus').isCollapsible()) {
			return false;
		}
	});
});

Cheers!

Register

You will be emailed a link to set your password.

Login

Lost password?