home *** CD-ROM | disk | FTP | other *** search
- <script language="JavaScript">
- <!-- Hide the script from old browsers --
-
- // Michael P. Scholtis (mpscho@planetx.bloomu.edu)
- // All rights reserved. July 21, 1996
- // You may use this JavaScript example as you see fit, as long as the
- // information within this comment above is included in your script.
-
-
- function surfto(form) {
- var myindex=form.dest.selectedIndex
- location=form.dest.options[myindex].value;
-
- }
- //-->
- </SCRIPT><br>
- <CENTER>
- <FORM NAME="myform">
- <SELECT NAME="dest" SIZE=1>
- <OPTION SELECTED VALUE="">---------- A Simple Menu -----------
- <OPTION VALUE="http://your.url">Title of URL1
- <OPTION VALUE="http://your.url">Title of URL2
- <OPTION VALUE="http://your.url">Title of URL3
- <OPTION VALUE="http://your.url">Title of URL4
- </SELECT>
- <P>
- <INPUT TYPE="BUTTON" VALUE="Pull Down Surfing!" onClick="surfto(this.form)">
- </FORM>
- </CENTER>
-