Feature #226
Active menu "trail"
| Status: | New | Start date: | 2010-01-27 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | Alex Cartwright | % Done: | 0% |
|
| Category: | TangoCMS::Modules | |||
| Target version: | 2.7.0 |
Description
The class .menu-current is applied to the current menu item only. Could it be possible to mark all the parent level menus as .menu-trail or something similar?
This would allow the designer to do something to tell the user (e.g. in case of dropdown menus) that you're somewhere under this menu item.
An example menu:
- First level (.menu-trail)
- Second level 1
- Second level 2 (.menu-trail)
- Third level 1
- Third level 2 (currently here, so the li element has class .menu-current. Could have .menu-trail as well)
- Second level 3
History
Updated by Alex Cartwright about 2 years ago
- Status changed from New to Approved
- Priority changed from Medium to Low
Seems like a good idea to me. I'll set for 2.6.0 since it should be quite simple to do.
Updated by Alex Cartwright almost 2 years ago
- Assignee set to Alex Cartwright
Updated by Alex Cartwright over 1 year ago
Actually, this isn't so simple to do as we only know if a menu item is the current page when we get to it after traversing the parents. Targeting to 2.7.0
Updated by Alex Cartwright about 1 year ago
- Status changed from Approved to New