summaryrefslogtreecommitdiffstats
path: root/www/analyzer/scripts/menu.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/analyzer/scripts/menu.js')
-rw-r--r--www/analyzer/scripts/menu.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/analyzer/scripts/menu.js b/www/analyzer/scripts/menu.js
new file mode 100644
index 0000000..6b393c0
--- /dev/null
+++ b/www/analyzer/scripts/menu.js
@@ -0,0 +1,17 @@
+startList = function() {
+ if (document.all&&document.getElementById) {
+ navRoot = document.getElementById("nav");
+ for (i=0; i<navRoot.childNodes.length; i++) {
+ node = navRoot.childNodes[i];
+ if (node.nodeName=="LI") {
+ node.onmouseover=function() {
+ this.className+=" over";
+ }
+ node.onmouseout=function() {
+ this.className=this.className.replace(" over", "");
+ }
+ }
+ }
+ }
+}
+window.onload=startList;
OpenPOWER on IntegriCloud