Debian Codegraph @

llvm-project/clang/www/analyzer/scripts/menu.js

raw
1 startList = function() {
2 if (document.all&&document.getElementById) {
3 navRoot = document.getElementById("nav");
4 for (i=0; i<navRoot.childNodes.length; i++) {
5 node = navRoot.childNodes[i];
6 if (node.nodeName=="LI") {
7 node.onmouseover=function() {
8 this.className+=" over";
9 }
10 node.onmouseout=function() {
11 this.className=this.className.replace(" over", "");
12 }
13 }
14 }
15 }
16 }
17 window.onload=startList;