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

mmpagehighlighter.js conflict with itemOff()


Poster: twing
Dated: Wednesday June 1 2005 - 7:33:04 BST

I use mmpagehighlighter.js to highlight menu. Apparently in Mac IE 5.2, the foreground colour is changed to different colour than the one sepecified in pageColor property.
Sometimes, it also happen in Windows IE too.

I found the line that cause it in itemOff() function:
...
...
if(_I[34]!="header")_lnk.style.color=_lnk.oC;
...
...

Yes, my menu 'type' is not 'header', so it goes to that line and change the colour specified _lnk.oC (don't know what this is).

So.. I modified the mmpagehighlighter.js to call:
function _doHLK(_i){
....
....
itemOff(_i);
_lnk=$F("lnk"+_i);
_lnk.style.color=_I[8];
}


Is there anyway to get around this without modifying the mmpagehighlighter code?

Thanks,


Poster: Ruth
Dated: Thursday June 2 2005 - 23:14:50 BST

Hi,

Just letting you know that all the guys who might know what all that goobledy gook is :? :lol: are out of town this week. Just so you know you're not being ignored. As to the IE Mac problem, I doubt that anything would be done for that since even Microsoft doesn't support it anymore. On the other issue, I can't give you an answer. In all the time I was trying to set up the demo for the module I never saw that problem.

Ruth