13 lines
388 B
JavaScript
13 lines
388 B
JavaScript
iehover = function() {
|
|
var sfEls = document.getElementById("navmenu").getElementsByTagName("li");
|
|
for (var i=0; i<sfEls.length; i++) {
|
|
sfEls[i].onmouseover=function() {
|
|
this.className+=" iehover";
|
|
}
|
|
sfEls[i].onmouseout=function() {
|
|
this.className=this.className.replace(new RegExp(" iehover\\b"), "");
|
|
}
|
|
}
|
|
}
|
|
if (window.attachEvent) window.attachEvent("onload", iehover);
|