-
Notifications
You must be signed in to change notification settings - Fork 485
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
Multi-level keep menu open #41
Comments
I think I'm seeing the same thing here. For example, if I have a 3 tier menu, and I click on an item in the third tier, the third tier doesn't remain open when the next page loads. This causes me to have to click back through the menus to get to the option I selected. Any help on this would be awesome! I tried to just copy the basic template laid out on the demo. |
I'm having the same trouble. |
Same here. Did anyone get a fix? |
Same problem. Any ideas? |
See the above issue. It requires modifying the source code but will give you what you want. |
try adding something like this in init function and make the child node active $(this._element)
.find('li.' + this._config.activeClass)
.parents('ul')
.attr('aria-expanded', true)
.addClass(this._config.collapseClass + ' ' + this._config.collapseInClass);
$(this._element)
.find('li.' + this._config.activeClass)
.parents('li')
.attr('aria-expanded', true)
.addClass(this._config.activeClass); |
Hello,
With the current version only the first sub-level (
) keeps open when the page reload.
I need the menu to keep the same behavior for the next sub-level (
). The class is set to active for the .
Is this possible by modifying the js ?
The text was updated successfully, but these errors were encountered: