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!



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

<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>

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


Reply to this message

Required Details
Your name:

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

Your Message