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

Register

You will be emailed a link to set your password.

Login

Lost password?