mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
17 lines
426 B
JavaScript
17 lines
426 B
JavaScript
sfHover = function() {
|
|
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
|
|
for (var i=0; i<sfEls.length; i++) {
|
|
sfEls[i].onmouseover=function() {
|
|
if(this.className != 'fs-linkSep')
|
|
this.className+=" sfhover";
|
|
}
|
|
sfEls[i].onmouseout=function() {
|
|
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
|
|
}
|
|
}
|
|
}
|
|
if (window.attachEvent) window.attachEvent("onload", sfHover);
|
|
|
|
|
|
|