detect page/script name for 'Current Page Color'

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
rosp
Beginner
Beginner
Posts: 1
Joined: Tue Jul 22, 2003 10:00 am

detect page/script name for 'Current Page Color'

Post by rosp »

how do I tell mmenu.js to look only for the SCRIPT_NAME and ignore the QUERY_STRING value for the 'Current Page Item Background Color' function?
For instance the first call for 'ex.php' in teh menu activates the 'Current Page Item Background Color' as expected. But working inside 'ex.php' with a QUERY_STRING attached (i.e.: ex.php?val=123) while mmenu_array.js is still looking for 'ex.php' doesn't highlite the menu text.

any clues?
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

We are working on this.

The problem is knowing when the match has been made with or without a QUERY_STRING. It's caused us problems so far so we may need to put our thinking caps on.

We'll crack it :D

Cheers
Andy
Post Reply