submenu active status
| Project: | Dynamic Persistent Menu |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Hello,
i want to implement the menu with always visible submenus. I removed the timeout from the JS, so the submenu doesn't hide after X seconds. So it works fine with the hover-effects. But i want to show the related submenu, when you click on the parent item.
Means, when page from menuitem 2 is loaded, the submenu 2.1 2.2 2.3 ... should be visible.
At the moment the active status is set to the list item (li). Is there a way to use the active status for the list element (ul) ?
I have to set the $display value related to the active status of the parent item.
I tried to set the status by using the values of the $link-array. But the elements "in_active_trail" or "expanded" are not set or i can't figure out which is the right element and where to set the $display value.
did someone had the same problem? maybe someone can give me a hand?
thanks in advanced
Stefan
