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.

Collapse all sub menus on a vertical menu for small devices.

Home Forums Older releases 0.9.x Collapse all sub menus on a vertical menu for small devices.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1308
    sjulesich
    Participant

    I am using a menu toggle button to display a vertical menu. If the user opens the menu and then selects a sub-menu item the entire vertical menu is hidden as expected. However if the user clicks the toggle button to re-display the menu, the sub menu is still expanded. Can I collapse the menu in this case so just the first level menu items are re-displayed?

    Thanks for any help!

    #1539
    admin
    Keymaster

    Hm, I am not sure why this might happen for you (I believe normally it shouldn’t) but you can always call the following on menu toggle button click just in case to make sure all sub menus are reset:

    $.SmartMenus.hideAll();

    If this still doesn’t help, please post a link to a live example I could test.

    Cheers!

    #1562
    phfaweb
    Participant

    I have the same issue.

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