Problem with pagematching and manual highlighting of items

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
akinss
Beginner
Beginner
Posts: 3
Joined: Wed Jul 13, 2005 5:31 pm

Problem with pagematching and manual highlighting of items

Post by akinss »

Hi,


I've come across a problem when using the pagehighlighter module which results in multiple menu items being highlighted.

I'm using Milonic in a Servlet JSP environment and some of the URL's forward to different pages depending on what has happened in processing the request. As a result of doing forwards the URL doesn't change but the displayed page is different.

To highlight the right menu item I'm using manual highlighting "mmItemActivateByText()". The problem with this is the pagematching code is still being run which means that a menu item which does match the URL is also being highlighted.

Is it possible to have a global switch which turns off pagematching or deactivate pagematching when manual highlighting is used.

I know there is a pagematch attribute for menu items but in this case it would be far neater if there was a global disable option available.
Post Reply