VPenkov / okayNav

The world's okayest responsive navigation. This is (sort of) a legacy implementation. Please stay tuned to the 3.0 branch (https://github.com/VPenkov/okayNav/tree/v3.0)
4.02k stars 266 forks source link

Option to ignore specified items #6

Open tunapuff opened 8 years ago

tunapuff commented 8 years ago

Great plugin, we've been looking for something like this at work. Would it be possible to add an option where you could specify menu items that are excluded from being moved into the collapsed navigation e.g. I want to have the "Contacts" link in your demo to always remain visible.

VPenkov commented 8 years ago

Yes, that's on the roadmap. Should be a few weeks before I get to it. You'll be able to assign priority or exclude items altogether via data attributes.

tunapuff commented 8 years ago

Perfect, thank you so much!

Frique commented 8 years ago

Looking forward to this feature. It's rather vital to keep priority items visible, even if they normally appear on the right side (Contact).

AndrewIngram commented 8 years ago

What about something like:

<li data-okaynav-priority="1" />

VPenkov commented 8 years ago

@AndrewIngram yes, that's pretty much what I meant.

Yearhouse commented 8 years ago

Hi Penkov.

Do you have an idea of when this will be released? Looking very much forward to this feature. Thanx for a great plugin :)