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.

Hide submenus on second click

Home Forums Older releases 0.9.x Hide submenus on second click

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1368
    hallo79
    Participant

    First let me thank you for this brilliant work! I am just setting it up for my web-site.

    On mobile devices the submenu opens on a click on the parent item. With a second click on the parent item, the submenu hides, but also the link gets activated, so the new page opens. Is it possible, to repress the activation of the link? So that with the first click the submenu opens, with second click it hides and nothing else happens.

    If I add the class “disabled” to the link, it doesn´t accept the click any more, so the submenu doesn´t open at all.

    Thanks for your help!

    #1701
    admin
    Keymaster

    Hi,

    Please take a look at the following discussion to learn why it works like that by default and how you could modify this behavior:

    http://www.smartmenus.org/forums/topic/submenu-is-open-indicator

    Please let me know if you still have any questions after that.

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