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

Is there a solution for query string in the url for higlight


Poster: voidian
Dated: Sunday January 6 2008 - 20:17:53 GMT

Hi, I tried looking for a solution to the problem regarding query strings in the url and keeping the menu item highlighted, but have not found a working solution yet.

Does anyone have a way to strip the remainder of a querystring, prior to milonic reading the whole url in order to make the url match the menuitem?

I'm currently building the menu data from a sql database and adding the appropriate PageID=## in order to use that Page Id for other things. So, the first Query string actually matches what gets loaded into the milonic data for the menu.

example:
this does highlight in the menu
http://localhost/cedar/dev/classes.php?PageID=32
this does NOT highlight in the menu
http://localhost/cedar/dev/classes.php? ... signup=YES