Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:17

Problem with pagematching and manual highlighting of items


Poster: akinss
Dated: Friday January 20 2006 - 11:24:12 GMT

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.