Java Script Drop Down Menu for FRAMES.
Author: Donald Harriman

This is non-browser specific. (any browser) This would work for people who want to use a drop down menu in a frames setting using Java Script. I have highlighted the areas that need to be changed. To expand just copy each section (one at a time) fill in your info and that's it.

You should see what to add and where, it's pretty simple. You'll notice that the OPTION #'s start at 1 and not 0. This is do to the fact that 0 is a harmless link for the button. Where it says --> Choose Destination <-- For those people who will try to click it. So the real links begin with 1. Have fun!

Or just download the complete ZIP file to have all the files and and experiment with.

Click Here

 

<---------- START CUT ------------->

<script language="JavaScript">

<!--
// CLOSE YOUR EYES
// writtin by Donald Harriman
// http://www.mysticdreams.com webmaster@mysticdreams.com

function gothere() {

if (document.myform.gimmie.options[1].selected)
parent.main.location='http://www.mysticdreams.com/player/freestuff/dropdown/page3.html'

if (document.myform.gimmie.options[2].selected)
parent.main.location='http://www.mysticdreams.com/player/freestuff/dropdown/page1.html'

if (document.myform.gimmie.options[3].selected)
parent.main.location='http://www.mysticdreams.com/player/freestuff/dropdown/main.html'

if (document.myform.gimmie.options[4].selected)
parent.main.location='http://www.mysticdreams.com/player/freestuff/dropdown/page2.html'

if (document.myform.gimmie.options[5].selected)
parent.main.location='http://www.mysticdreams.com/player/freestuff/dropdown/code.html'
}

// OPEN YOUR EYES-->

</script>
</head>

<body bgcolor="#0000FF" text="#000000">

<CENTER><FORM NAME="myform">

<SELECT NAME="gimmie" SIZE="1">

<OPTION> --> Choose Your Destination <--

<OPTION>Page Three

<OPTION>Page One

<OPTION>Main Page

<OPTION>Page Two

<OPTION>Grab the Code

</SELECT>

<INPUT TYPE="button" VALUE="go there" onClick="gothere()">

</FORM></CENTER>

<-------------- STOP CUT -------------->