Pagematch not working in v5.09

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bobzilla2u
Advanced
Advanced
Posts: 12
Joined: Fri Jul 11, 2003 12:49 am
Location: Memphis, TN

Pagematch not working in v5.09

Post by bobzilla2u »

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: Select all

aI("text=Alabama;url=/ourstory/locations/state.asp?state=AL;pagematch=&state=AL");
The page URL containes only part of the pagematch code:

Code: Select all

/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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

There were some additional bug fixes in this area. See http://milonic.com/menuvinfo.php for details. Possibly those fixes have uncovered something new.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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
bobzilla2u
Advanced
Advanced
Posts: 12
Joined: Fri Jul 11, 2003 12:49 am
Location: Memphis, TN

Post by bobzilla2u »

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
Post Reply