The JavaScript Programming Language

Dropdown Navigation Example Program


Click below to go directly to a specific section:
Description| Scrolling Text Source Code| Sample Run

Dropdown Navigation Description

A location is selected and when GO is pressed the browser is directed to the location.

Dropdown Navigation Source Code


< FORM>

< SELECT NAME="list">

< OPTION SELECTED> Select your destination...

< OPTION VALUE="http://www.umd.umich.edu/"> University Webpage

< OPTION VALUE="http://www.engin.umd.umich.edu/"> Engineering Webpage

< OPTION VALUE="http://www.engin.umd.umich.edu/CIS/cis_homepage.html"> CIS Homepage

< /SELECT>

< INPUT TYPE=BUTTON VALUE="GO" onClick="top.location.href=this.form.list.options[this.form.list.selectedIndex].value">

< /FORM>






Dropdown Navigation Sample Run


[Back] [Home]

Last Modified: 01:40 PM on 11/15/1999