This works fine and applies the 'current' class to the according <li> menu item when that page is opened via the menu link.
The problem is though, that this does not work anymore when for example a page is being edited because the url then turns into 'page.php?m=edit&id=18'. Because of this the current class is lost..
How can I solve this?
This post was edited by Twiebie (2011-07-12 00:14, 14 years ago)