View Full Version : drop down menu with links to frame1


Aidan
06-27-2003, 07:29 PM
Is there anyway to take a drop down menu and add links to it that are targeted to an inline frame (table?)

I tried putting in this code and it just ... won't ... work:

<iframe src="http://www.geocities.com/spiffymoo2000/home.html" name="frame1" scrolling="auto" frameborder="yes" align="center" height = "70%" width = "60%">
</iframe>

<p><form name="menu">
<select style="font-size:9px;color:#000000;font-family:verdana;background-color:#FF9999;" name="menu">
<option value="http://www.geocities.com/spiffymoo2000/adopt.html" target="frame1">take</option>
</select>
<input style="font-size:9px;color:#000000;font-family:verdana;background-color:#FF9999;" type="button" onClick="location=document.menu.menu.options[document.menu.menu.selectedIndex].value;" value="jump">
</form><br>

What am I doing wrong?

Alcy
06-27-2003, 07:39 PM
There's a javascript you use to target....
http://www.lissaexplains.com/fun.shtml#dropframe

Aidan
06-27-2003, 08:00 PM
thanks so much; this is twice you have helped me now :D