Menu icon Foundation
Dropdown only on specific breakpoint

Hello guys,

I need to use dropdown for a menu in large but not in small and this is my problem ;)

This is the code :

<ul class='wrapper-list' data-responsive-menu='large-dropdown' data-disable-hover='true' data-autoclose='false' data-click-open='true'>
   <li>...<li>
</ul>

When page loaded in large dropdown works, if I resize to small breakpoint dropdown still working. And I dont want.

I page is loaded in small dropdown's js are not launch, but I resize small-large-small dropdown is here.

 

Does it have a solution to "reset" js if I'm not specfic breakpoint like data-responsive-menu ?


Thank you !

breakpointdropdownresetjs

Hello guys,

I need to use dropdown for a menu in large but not in small and this is my problem ;)

This is the code :

<ul class='wrapper-list' data-responsive-menu='large-dropdown' data-disable-hover='true' data-autoclose='false' data-click-open='true'>
   <li>...<li>
</ul>

When page loaded in large dropdown works, if I resize to small breakpoint dropdown still working. And I dont want.

I page is loaded in small dropdown's js are not launch, but I resize small-large-small dropdown is here.

 

Does it have a solution to "reset" js if I'm not specfic breakpoint like data-responsive-menu ?


Thank you !

Bart over 3 years ago

Anybody had this situation ? [up]