|

To make a
drop down list, you need to put html code into both the "head" and
"body" sections of your code page. The "head" portion
is that stuff between the <head> and </head> tags. (Note that
this menu is targeted to open links in a new window. See Frames
help for more on targeting) Also, for a Drop Down Menu Generator, go to Drop
Down Menu Generator
PUT
THIS IN THE HEAD SECTION:
<script language ="javascript">
function jump(form) {
var myindex=form.menu.selectedIndex
if (form.menu.options[myindex].value != "0")
{
window.open(form.menu.options[myindex].value, target="_blank");
}
}
//-->
</script>
Note: If you have frames, note
where it says
target="_blank"
above? This means that your links will open up in a new window. If
you want the links to open up in the SAME window, your target would be
"target="_top".
If you want the links to open up in the SAME window as the menu, put the target like this:
"target="_top"
. You can also specify any target frame you want, just by putting in the NAME of
the frame after the word target.
PUT THIS IN THE BODY SECTION:
Replace
<option> with the with the name of your option. Replace <option
value> with the address of the page that the link refers to.
<form name= "navigate">
<div align="center"><center><p>
</p>
</center></div>
<div align="center"><center><p><select
name="menu"
style= "background-color: #ffffff ;
font size=10 ; font-family: verdana; color:#000000"
size= "1"
onchange="jump(this.form)">
<option value="0">
**Quick Web Help Index</option>
<option value="http://www.crosswinds.net/~roxydoll12/help/webpages.html">*Your
First Page </option>
<option>*Music</option>
<option value="http://www.crosswinds.net/~roxydoll12/midis/realaudio.html"> Adding
Real Audio </option>
<option value="http://www.crosswinds.net/~roxydoll12/midis/playmidis.html"> Adding
Midis </option>
<option value="http://www.crosswinds.net/~roxydoll12/midis/index.html"> Midi
of Week </option>
<option>*Frames</option>
<option value="http://www.crosswinds.net/~roxydoll12/help/frameintro.html"> How
to Make Frames </option>
<option value="http://www.crosswinds.net/~roxydoll12/help/targetframe.html"> Targeting
Frames </option>
</select>
</p>
</center></div>
</form>
|