Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: Show submenus when click only

Home Forums Older releases 0.9.x Show submenus when click only Reply To: Show submenus when click only

#2305
admin
Keymaster

Hi,

You can use the following mod (just include it on your page after the SmartMenus jQuery plugin .js file):

// always emulate touch mode
$.SmartMenus.prototype.isTouchMode = function() {
	return true;
};

This would emulate touch mode even when mouse input is available and thus make sure any sub menu is only activated on tap/click.

Cheers!