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

Pagematch not working in v5.09


Poster: bobzilla2u
Dated: Monday March 22 2004 - 21:54:29 GMT

Pagematch was/is working in v5.07. We publish at night so I don't have v5.09 on our live servers yet but Pagematch is not working on our development server running v5.09 of the menu.

Here is my menu code:
Code:
aI("text=Alabama;url=/ourstory/locations/state.asp?state=AL;pagematch=&state=AL");


The page URL containes only part of the pagematch code:
Code:
/ourstory/locations/city.asp?city=Athens&state=AL


This did not present a problem before but now the menu is not highlighted. Any ideas about what has changed?

Bob


Poster: John
Dated: Monday March 22 2004 - 22:04:17 GMT

There were some additional bug fixes in this area. See http://www.milonic.com/menuvinfo.php for details. Possibly those fixes have uncovered something new.


Poster: Andy
Dated: Monday March 22 2004 - 22:39:50 GMT

It looks like a problem with your code that the new menu has showed up because it is actually working properly now.

You are trying to match &state=AL but your url is ourstory/locations/state.asp?state=AL The text &state=AL isn't found in the url.

Try: pagematch=state=AL; instead

Cheers
Andy


Poster: bobzilla2u
Dated: Tuesday March 23 2004 - 14:50:06 GMT

That did the trick. Thank you.

The ampersand is part of the URL but I guess you are saying that it is used by the ASP code and not part of the physical address. I am a designer not a developer so I could be way off but I believe I understand. I am still having issues with the Pagematch code but I am attributing this to a browser specific, or designer specific, problem and not with the menu code. Everything seems to be working great now.

Once again, thank you for your help.

-Bob