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

Current page highlight


Poster: lorenjustins
Dated: Thursday July 17 2003 - 6:58:44 BST

I have converted the menu system to an ASP script and it works beautifully, except the current page highlighting does not work at all.

I am not completely sure if this is because all the js files are in different places or whatever it may be.

Can someone tell me how the code actually determines the page and sub page it is on, and or give me the place in the code where it does this, as I want to try and sus this out before putting up the code to do this.

I accidentally put this post also in the development section... sorry :)


Poster: John
Dated: Thursday July 17 2003 - 14:58:00 BST

Have to ask - why are the .js files in different places? Seems to me it would be more logical to keep them together and set scriptpath.


Poster: lorenjustins
Dated: Thursday July 17 2003 - 15:07:03 BST

I have found the line that seems to be causing it all not to work

if(_url.charAt(0)!="/")_url="/"+_url;

in the file mmenudom.js

When I delete this line, everything highlights ok. I dont understand why. Anyone can help??