Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always Show Active Menu #26

Open
OxyFuse opened this issue Mar 4, 2016 · 2 comments
Open

Always Show Active Menu #26

OxyFuse opened this issue Mar 4, 2016 · 2 comments

Comments

@OxyFuse
Copy link

OxyFuse commented Mar 4, 2016

This is really a great plugin and I'll be using this in my next project 👍

I have one request though, that is, an option to always show the active/selected menu. So if I have:

<ul id="navigation">
    <li><a href="#">Menu A</a></li>
    <li class="selected"><a href="#">Menu B</a></li>
    <li><a href="#">Menu C</a></li>
    <li><a href="#">Menu D</a></li>
    <li><a href="#">Menu E</a></li>
</ul>

then Menu B will never disappear. A live example is at https://xenforo.com/community/

This might be related to #6 but this one is based on class or even ID.

@VPenkov
Copy link
Owner

VPenkov commented Mar 4, 2016

If we "always" show it, the plugin will go nuts because of all the calculations.
Maybe we could just hide it last.

@OxyFuse
Copy link
Author

OxyFuse commented Mar 4, 2016

Maybe we could just hide it last.

This would be perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants