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

detect page/script name for 'Current Page Color'


Poster: rosp
Dated: Tuesday July 22 2003 - 10:14:46 BST

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?


Poster: Andy
Dated: Tuesday July 22 2003 - 22:46:28 BST

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