From fd035e6496665b1f1197868e21cb0a4594e8db6e Mon Sep 17 00:00:00 2001 From: rdivacky <rdivacky@FreeBSD.org> Date: Tue, 16 Feb 2010 09:31:36 +0000 Subject: Update clang to r96341. --- www/analyzer/scripts/menu.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 www/analyzer/scripts/menu.js (limited to 'www/analyzer/scripts/menu.js') 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; -- cgit v1.1