deadlock Message Board
[ September Full List | Reply ]

Re: Scroll Down Menu! Urgent Help!
From Melanie at Dream Greetings on 15 Sept '00
replying to Scroll Down Menu! Urgent Help! posted by Torsten Huygens

In this example I'm assuming that you have a separate HTML page for each state name like state.html (MS.html, AB.html, etc.)

<!--

<SCRIPT LANGUAGE="JavaScript">

function formHandler(){
var URL = document.form.state.options[document.form.state.selectedIndex].value + ".html";
window.location.href = URL;
}
</SCRIPT>

<form action=any_file.html method="post" name="form">

<select name="state" onChange="formHandler()">
<option value="">ChooseState</option>
<option value="MS">MS</option>
<option value="AB">AB</option>
<option value="WM">WM</option>
<option value="TX">TX</option>
<option value="NY">NY</option>
<option value="NM">NM</option>
<option value="WT">WT</option>
</select>

<input type="submit" value="OK">

</form>


-->




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)

Your Message