SCornelius7mufc
12-16-2006, 06:05 AM
Hi.
I am trying to get a drop-down menu to open up in a different frame to where it is shown.
I have 2 frames on the page, I want the drop-down menu to appear in the first one, and for documents to be displayed in the second.
The code for the menu is shown below:
<form name="jump">
<select name="menu">
<option value="fixandres.html">Fixtures, results and league table</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
</form>
When using the menu, it opens in the same frame where the menu exists but i want to change this.
I have experiemented using target="main" (which is the name of the second frame and works for all the text links i have).
Any help would be appreciated.
I am trying to get a drop-down menu to open up in a different frame to where it is shown.
I have 2 frames on the page, I want the drop-down menu to appear in the first one, and for documents to be displayed in the second.
The code for the menu is shown below:
<form name="jump">
<select name="menu">
<option value="fixandres.html">Fixtures, results and league table</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
</form>
When using the menu, it opens in the same frame where the menu exists but i want to change this.
I have experiemented using target="main" (which is the name of the second frame and works for all the text links i have).
Any help would be appreciated.