|
Web_Source_Web_Design_Tips_-_Creating_An_Automatic_Drop_Down_Navigation_Menu
| Web Source Web Design Tips - Creating An Automatic Drop Down Navigation Menu
This is a simple navigation script that will redirect your
visitors with a drop down menu that will automatically advance
to the selected page without a submit button.
Place this script where you'd like your menu to appear. You can
add as many links as you like, but keep in mind you must use
full URLs, starting with "http," when linking to web sites
outside of your own.
function AutoLink() { var number =
document.FormAdvance.WebLink.selectedIndex; location.href =
document.FormAdvance.WebLink.options[number].value; }
Choose a Link
Page One Page Two Page Three
About the author:
Shelley Lowery slowery@web-source.net Tip provided by: Web
Source: Your Guide to Professional Web Design and Development.
http://www.web-source.net
|
|
| |