Files
metasploit-gs/data/msfweb/public/javascripts/application.js
T
lmh fab9eb9f44 Added the most crappy example ever to msf index for a native window widget.
git-svn-id: file:///home/svn/framework3/trunk@3957 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-26 00:30:26 +00:00

29 lines
627 B
JavaScript

/*
* Copyright (c) 2006, L.M.H. <lmh@info-pull.>
* All Rights Reserved.
*/
/* http://alistapart.com/articles/dropdowns/ */
function initialize_topmenu() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("topmenu");
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", "");
}
}
}
}
}
function openAboutDialog() {}
function run_tasks() {
initialize_topmenu();
}