|
||
DHTMLLib Demos/ Menu
|
Features Developers Paradise Site Information |
Using DHTMLLib we are able to create a drop-down menu with minimal script:
function displayPopup() {
document.all.navBar.style.visibility = "visible"
window.event.cancelBubble = true
window.event.returnValue = false
}
function hidePopup() {
document.all.navBar.style.visibility = "hidden"
}
function doLoad() {
setup()
document.onmouseup = hidePopup
}
window.onload = doLoad;
The menu itself is created with an absolutely positioned table immediately following a link that displays the menu. View the source for this document to see the menu HTML.
See our sliding menu for a more enhanced version.
© 1998 by InsideDHTML.com, LLC. All rights reserved.