deadlock Message Board
[ September Full List | Reply ]

scrolldown menus that load pages in other frames?
From Torsten Huygens on 29 Sept '00
First, I thank Melanie from DreamGreetings for providing me this script below. My problem now is to make that to work with frames, because I intend to insert that script/form in a frame on the left (my navigation frame) and it should load pages in another frame on the right (site´s content pages)?

What should I include in the script?
Thanks in advance!
/Toersten

<!--

<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