Menu icon Foundation
accordion-menu

Hi,

 

https://foundation.zurb.com/sites/docs/accordion-menu.html

 

I'm staring with Foundation and I would like to know how do I make it collapse the rest of the accordion menu, when I select an option in the menu (vertical)?

 

It is like: <ul class="vertical menu accordion-menu" data-accordion-menu data-submenu-toggle="true">

 

But I tried <ul class="vertical menu accordion-menu" data-accordion-menu-toggle="true" data-submenu-toggle="true">

An it expand all the options.

 

Thanks,

 

 

 

menusubmenutoggleaccordioncollapse

Hi,

 

https://foundation.zurb.com/sites/docs/accordion-menu.html

 

I'm staring with Foundation and I would like to know how do I make it collapse the rest of the accordion menu, when I select an option in the menu (vertical)?

 

It is like: <ul class="vertical menu accordion-menu" data-accordion-menu data-submenu-toggle="true">

 

But I tried <ul class="vertical menu accordion-menu" data-accordion-menu-toggle="true" data-submenu-toggle="true">

An it expand all the options.

 

Thanks,