...

View Full Version : Menu problem with IE, but not Firefox



guyd
09-17-2007, 03:53 PM
Having just switched to a new server, my site's menu gets stuck in IE:

http://www.hundredpercentgambling.com/

If you mouse over the left side menu using IE, you'll see the problem - all the sub-categories, which should vanish after the mouse moves away, get stuck.

If you run the same in Firefox, there's no problem. :confused:

Anybody know the css (or java?) fix for this?

These menus seem very twitchy in IE. This is the second issue I've come across where Firefox worked perfectly.

Thanks in advance for any advice.

Fang
09-17-2007, 04:39 PM
This probably:

<!-- Begin
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function() {
this.className=this.className.replaceĀ»
(" over", "");
}
}
}
}

guyd
09-17-2007, 05:12 PM
Fang, can you clarify, are you saying I should remove "replace", thuswise?


this.className=this.className.»

jlhaslip
09-17-2007, 06:30 PM
}
node.onmouseout=function() {
this.className=this.className.replaceĀ»
(" over", "");
}No, probably means find out what is causing this to happen

guyd
09-17-2007, 11:50 PM
Thanks very much, folks. The fix worked fine, menu fully functional again in IE. :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum