You are here: irt.org | BBS | Targeting frames with JS redirect [This BBS is closed]
Posted by Brad on August 27, 1998 at 12:06:06:
I have a page that utilizes three frames: top, left, Body. In top I have a drop down list box that I want to target the Body, but I keep getting the response that "dest is not a valid object". Can anyone help me figure out why I am unable to target the "Body" frame?
e-mail address is fun4u@flash.net.
This is my code.
function leapto (form) {
var myindex=form.dest.selectedIndex
parent.Body.location.href= (form.dest.options[myindex].value);
}
// End -->
</SCRIPT>
</HEAD>
<BODY>
<CENTER>
<FORM NAME="myform">
<SELECT NAME="dest" SIZE=1 OnChange="leapto ()" >
<OPTION SELECTED VALUE="test.html">Test
<OPTION VALUE="test.html">Test
<OPTION VALUE="test.html">Test
<OPTION VALUE="test.html">Test
</SELECT>
</FORM>
</BODY>
</HTML>
Thanks in advance for any help that may come.
Brad
Follow-ups:
You are here: irt.org | BBS | Targeting frames with JS redirect [This BBS is closed]