Home › Forums › Other › script problems › Re: script problems
March 14, 2012 at 1:54 am
#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);