summaryrefslogtreecommitdiff
path: root/obsolete/help/Catalogue/ieHover.js
blob: c04f851cebafb568d147552bbe107677bf8970cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("links");
/*for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];*/
for (i=0; i<navRoot.getElementsByTagName("LI").length; i++) {
node = navRoot.getElementsByTagName("LI")[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace
        (" over", "");
   }
   }
  }
 }
}
window.onload=startList;