Posted: Tue Oct 07, 2008 6:56 am Drop down menu with a button
I have a code for a dropdown menu with a go button. When i click on it it goes to the link in that frame. How do i change the code so it goes to another frame?
Code:
<form method="post" name="nameform" target="area1">
<font color="#9933CC" size="1" face="Times New Roman">
<select name="tanyasmenu" size="0.5" style="BACKGROUND: black; COLOR: #0066FF; FONT-FAMILY: Times New Roman; FONT-SIZE: 12px">
<option selected value="home.html">Home</option>
<option value="my family.html">My Family</option>
<option value="interests.html">Interests</option>
<option value="vacations.html">Vacations</option>
<option value="games.html">Games</option>
<option value="favorite sites.html">Favorite Sites</option>
<option value="future goals.html">Future Goals</option>
<option value="religion.html">Religion</option>
<option value="bibliography.html">Bibliography</option>
</select>
<input type="button" value="Go" onclick="location = document.nameform.tanyasmenu.options [document.nameform.tanyasmenu.selectedIndex].value;"
style="BACKGROUND: black; COLOR: white; FONT-FAMILY: Times New Roman; FONT-SIZE: 12px"> </form>[code][/code]
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum