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)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?