drop down menus

B

Bob Mitchell

I am having trouble making this menu work, I started with
a form and somehow along the way it all got confusing.
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>Test Dropdown</title>
</head>

<body>

<select name="state" size="1" onchange="state1(this.form)"<option value="*">Select a State</option>
<option
value="listing_charters/charters_alaska.htm">Alaska</option
<option
value="listing_charters/charters_arizona.htm">Arizona</opti
on>
<option
value="listing_charters/charters_alabama.htm">Alabama</opti
on>
<option
value="listing_charters/charters_arkansas.htm">Arkansas</op
tion>
<option
value="listing_charters/charters_california.htm">California
</option>
<option
value="listing_charters/charters_colorado.htm">Colorado</op
tion>
<option
value="listing_charters/charters_connecticut.htm">Connectic
ut</option>
<option
value="listing_charters/charters_flordia.htm">Flordia</opti
on>
<option
value="listing_charters/charters_georgia.htm">Georgia</opti
on>
<option
value="listing_charters/charters_hawaii.htm">Hawaii</option
<option
value="listing_charters/charters_idaho.htm">Idaho</option>
<option
value="listing_charters/charters_illinois.htm">illinois</op
tion>
<option
value="listing_charters/charters_indiana.htm">Indiana</opti
on>
<option
value="listing_charters/charters_kansas.htm">Kansas</option
<option
value="listing_charters/charters_kentucky.htm">Kentucky</op
tion>
<option
value="listing_charters/charters_louisianna.htm">Louisianna
</option>
<option
value="listing_charters/charters_maine.htm">Maine</option>
<option
value="listing_charters/charters_maryland.htm">Maryland</op
tion>
<option
value="listing_charters/charters_michigan.htm">Michigan</op
tion>
<option
value="listing_charters/charters_minnesota.htm">Minnesota</
option>
<option
value="listing_charters/charters_mississippi.htm">Mississip
pi</option>
<option
value="listing_charters/charters_missouri.htm">Missouri</op
tion>
<option
value="listing_charters/charters_montana.htm">Montana</opti
on>
<option
value="listing_charters/charters_nevada.htm">Nevada</option
<option
value="listing_charters/charters_newhampshire.htm">New
Hampshire</option>
<option value="listing_charters/charters_new
mexico.htm">New Mexico</option>
<option
value="listing_charters/charters_newyork.htm">New
York</option>
<option
value="listing_charters/charters_north_carolina.htm">North
Carolina</option>
<option
value="listing_charters/charters_north_dakota.htm">North
Dakota</option>
<option
value="listing_charters/charters_ohio.htm">Ohio</option>
<option
value="listing_charters/charters_oregon.htm">Oregon</option<option
value="listing_charters/charters_pennsylvania.htm">Pennsylv
ania </option>
<option
value="listing_charters/charters_south_carolina">South
Carolina </option>
<option
value="listing_charters/charters_south_dakota.htm">South
Dakota </option>
<option
value="listing_charters/charters_tennessee.htm">Tennessee</
option>
<option
value="listing_charters/charters_texas.htm">Texas</option>
<option
value="listing_charters/charters_utah.htm">Utah</option>
<option
value="listing_charters/charters_virginia.htm">Virginia</op
tion>
<option
value="listing_charters/charters_washington.htm">Washington
</option>
<option
value="listing_charters/charters_west_virginia.htm">West
Virginia</option>
<option
value="listing_charters/charters_wisconsin.htm">Wisconsin</
option>
<option
value="listing_charters/charters_wyoming.htm">Wyoming</opti
on>
<option
value="listing_charters/charters_vermont.htm">Vermont</opti
on>
</select>


<select name="province" size="1" onchange="province1
(this.form)">
<option value="*">Select a Province</option>
<option
value="listing_charters/charters_alberta.htm">Alberta</opti
on>
<option
value="listing_charters/charters_british_columbia.htm">Brit
ish Columbia</option>
<option
value="listing_charters/charters_manitoba.htm">Manitoba</op
tion>
<option
value="listing_charters/charters_new_brunswick.htm">New
Brunswick</option>
<option
value="listing_charters/charters_novia_scotia.htm">Novia
Scotia</option>
<option
value="listing_charters/charters_nwt.htm">N.W.T.</option>
<option
value="listing_charters/charters_ontario.htm">Ontario</opti
on>
<option
value="listing_charters/charters_quebec.htm">Quebec</option<option
value="listing_charters/charters_saskatchawan.htm">Saskatch
ewan</option>
<option
value="listing_charters/charters_yukon.htm">Yukon</option>
<option
value="listing_charters/charters_newfoundland.htm">New
Foundland </option>
</select>


</body>
</html>
 
S

Stefan B Rusynko

Wrap your form in <form> (before <select>) and </form> (after </select>) tags




| I am having trouble making this menu work, I started with
| a form and somehow along the way it all got confusing.
| <html>
|
| <head>
| <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
| <meta name="ProgId" content="FrontPage.Editor.Document">
| <meta http-equiv="Content-Type" content="text/html;
| charset=windows-1252">
| <title>Test Dropdown</title>
| </head>
|
| <body>
|
| <select name="state" size="1" onchange="state1(this.form)"
| >
| <option value="*">Select a State</option>
| <option
| value="listing_charters/charters_alaska.htm">Alaska</option
| >
| <option
| value="listing_charters/charters_arizona.htm">Arizona</opti
| on>
| <option
| value="listing_charters/charters_alabama.htm">Alabama</opti
| on>
| <option
| value="listing_charters/charters_arkansas.htm">Arkansas</op
| tion>
| <option
| value="listing_charters/charters_california.htm">California
| </option>
| <option
| value="listing_charters/charters_colorado.htm">Colorado</op
| tion>
| <option
| value="listing_charters/charters_connecticut.htm">Connectic
| ut</option>
| <option
| value="listing_charters/charters_flordia.htm">Flordia</opti
| on>
| <option
| value="listing_charters/charters_georgia.htm">Georgia</opti
| on>
| <option
| value="listing_charters/charters_hawaii.htm">Hawaii</option
| >
| <option
| value="listing_charters/charters_idaho.htm">Idaho</option>
| <option
| value="listing_charters/charters_illinois.htm">illinois</op
| tion>
| <option
| value="listing_charters/charters_indiana.htm">Indiana</opti
| on>
| <option
| value="listing_charters/charters_kansas.htm">Kansas</option
| >
| <option
| value="listing_charters/charters_kentucky.htm">Kentucky</op
| tion>
| <option
| value="listing_charters/charters_louisianna.htm">Louisianna
| </option>
| <option
| value="listing_charters/charters_maine.htm">Maine</option>
| <option
| value="listing_charters/charters_maryland.htm">Maryland</op
| tion>
| <option
| value="listing_charters/charters_michigan.htm">Michigan</op
| tion>
| <option
| value="listing_charters/charters_minnesota.htm">Minnesota</
| option>
| <option
| value="listing_charters/charters_mississippi.htm">Mississip
| pi</option>
| <option
| value="listing_charters/charters_missouri.htm">Missouri</op
| tion>
| <option
| value="listing_charters/charters_montana.htm">Montana</opti
| on>
| <option
| value="listing_charters/charters_nevada.htm">Nevada</option
| >
| <option
| value="listing_charters/charters_newhampshire.htm">New
| Hampshire</option>
| <option value="listing_charters/charters_new
| mexico.htm">New Mexico</option>
| <option
| value="listing_charters/charters_newyork.htm">New
| York</option>
| <option
| value="listing_charters/charters_north_carolina.htm">North
| Carolina</option>
| <option
| value="listing_charters/charters_north_dakota.htm">North
| Dakota</option>
| <option
| value="listing_charters/charters_ohio.htm">Ohio</option>
| <option
| value="listing_charters/charters_oregon.htm">Oregon</option
| >
| <option
| value="listing_charters/charters_pennsylvania.htm">Pennsylv
| ania </option>
| <option
| value="listing_charters/charters_south_carolina">South
| Carolina </option>
| <option
| value="listing_charters/charters_south_dakota.htm">South
| Dakota </option>
| <option
| value="listing_charters/charters_tennessee.htm">Tennessee</
| option>
| <option
| value="listing_charters/charters_texas.htm">Texas</option>
| <option
| value="listing_charters/charters_utah.htm">Utah</option>
| <option
| value="listing_charters/charters_virginia.htm">Virginia</op
| tion>
| <option
| value="listing_charters/charters_washington.htm">Washington
| </option>
| <option
| value="listing_charters/charters_west_virginia.htm">West
| Virginia</option>
| <option
| value="listing_charters/charters_wisconsin.htm">Wisconsin</
| option>
| <option
| value="listing_charters/charters_wyoming.htm">Wyoming</opti
| on>
| <option
| value="listing_charters/charters_vermont.htm">Vermont</opti
| on>
| </select>
|
|
| <select name="province" size="1" onchange="province1
| (this.form)">
| <option value="*">Select a Province</option>
| <option
| value="listing_charters/charters_alberta.htm">Alberta</opti
| on>
| <option
| value="listing_charters/charters_british_columbia.htm">Brit
| ish Columbia</option>
| <option
| value="listing_charters/charters_manitoba.htm">Manitoba</op
| tion>
| <option
| value="listing_charters/charters_new_brunswick.htm">New
| Brunswick</option>
| <option
| value="listing_charters/charters_novia_scotia.htm">Novia
| Scotia</option>
| <option
| value="listing_charters/charters_nwt.htm">N.W.T.</option>
| <option
| value="listing_charters/charters_ontario.htm">Ontario</opti
| on>
| <option
| value="listing_charters/charters_quebec.htm">Quebec</option
| >
| <option
| value="listing_charters/charters_saskatchawan.htm">Saskatch
| ewan</option>
| <option
| value="listing_charters/charters_yukon.htm">Yukon</option>
| <option
| value="listing_charters/charters_newfoundland.htm">New
| Foundland </option>
| </select>
|
|
| </body>
| </html>
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top