Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other script problems Re: script problems

#99022
Jay
Member

well, here’s the js code:
function hmenuhover()
{
if(!document.getElementById(“hmenu”))
return;
var lis = document.getElementById(“hmenu”).getElementsByTagName(“LI”);
for (var i=0;i {
lis.onmouseover=function(){this.className+=” iehover”;}
lis
.onmouseout=function() {this.className=this.className.replace(new RegExp(” iehover\b”), “”);}
}
}
if (window.attachEvent)
window.attachEvent(“onload”, hmenuhover);