mmpagehighlighter.js conflict with itemOff()

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
twing
Advanced
Advanced
Posts: 15
Joined: Wed Apr 20, 2005 7:17 am

mmpagehighlighter.js conflict with itemOff()

Post by twing »

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,
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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