menu - How to close expanded mobile top bar in Foundation via jQuery? -


i'm wondering if there someway close expanded topbar in foundation on click on 1 of items? guess i'm looking put in center of this:

$('#some-menu-item').click(function() {     //some function collapse menu }); 

figured out lifting lines 174-176 of foundation's topbar.js.

$('#some-menu-item').click(function() {     $('.top-bar, [data-topbar]').css('height', '').removeclass('expanded'); }); 

Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -