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:10

Detect page and querystrings


Poster: MartinG
Dated: Monday September 22 2003 - 17:29:16 BST

Is there any way to control how the menu detects a page from the current URL and querystring so that both /default.aspx?pid=3 and /default.aspx?pid=3&article=1 highlight the same menu option?


Poster: DMLCo
Dated: Tuesday September 23 2003 - 5:10:52 BST

Not intrisically in the menu that I know of. Would love to hear of one ...

However, I do this by code in the file that builds the arrays--you can parse it there, and match up, say, menuIDs, then use something like (using old ASP syntax) this within the aI() call.

Code:
<% if currentMenuID = MenuID %>onbgcolor=#FFFFFF;offbgcolor=#FFFFFF;etc. <% end if %>


-Daniel