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>&nbsp; </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">&nbsp;&nbsp;Adding

Real Audio</option>

<option value="http://www.crosswinds.net/~roxydoll12/midis/playmidis.html">&nbsp;&nbsp;Adding

Midis</option>

<option value="http://www.crosswinds.net/~roxydoll12/midis/index.html">&nbsp;&nbsp;Midi

of Week</option>

<option>*Frames</option>

<option value="http://www.crosswinds.net/~roxydoll12/help/frameintro.html">&nbsp;&nbsp;How

to Make Frames</option>

<option value="http://www.crosswinds.net/~roxydoll12/help/targetframe.html">&nbsp;&nbsp;Targeting

Frames</option>

</select> </p>

</center></div>

</form>

GETTING STARTED

Check here first.  Everything about how to get started on your first webpage!

GRAPHICS

All about making graphics and adding them to your page!

TUTORIALS

How to make more advanced graphics and code effects

FRAMES

How to make and target all kinds of frames

TABLES AND MENUS

How to make tables and menus

FONTS AND HEADLINES

Make your page look its best with a unique font

CGI AND PERL

A basic introduction to cgi and perl

CARTOON DOLLS

Dollmaking tutorials and generators

MUSIC

Here's how to include music and sound on your webpage!

OTHER NEAT STUFF

Great tips and things to try!

© 1998-2004 by Alexandra Thelin