Reply To: Two navbars, apply to one, ignore the other...

Home Forums Older releases 0.9.x Two navbars, apply to one, ignore the other... Reply To: Two navbars, apply to one, ignore the other...

#2291
admin
Keymaster

Yep, at the moment by default the script will automatically work for all navbars on the page. But I like your suggestion and I will consider adding the possibility to easily skip any navbar – e.g. could be something like this in the JS:

 $('ul.navbar-nav:not([data-smartmenus-skip])').each(function() {  ...

and this in the HTML:

<ul class="nav navbar-nav" data-smartmenus-skip="true">...

So that modifying the default “jquery.smartmenus.bootstrap.js” wouldn’t be required like now.

Cheers!

Register

You will be emailed a link to set your password.

Login

Lost password?