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.

Show submenus when click only

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2304
    nicolaslt
    Participant

    Hello, i was wondering if there’s a way to show submenus when the user taps/clicks only and not when hovers.

    Thanks!

    #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!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.