Drop Down Boxes In Tables - Can a drop down box be placed into a table? (Posted by R Hatch)

They have: 2 posts

Joined: Sep 1999

I have built a drop down box (with a "GO" button) to help navigate through my site and it works great. Next, I would like to use several drop down boxes into a table. The problem is that when I put the box into the table, it only navigates to one page, regardless of which page is selected. There has to be a code to allow me to this. Suggestions?

----------
R Hatch

They have: 5,633 posts

Joined: Jan 1970

When using forms inside tables I always put the <form> & </form> tags outside of the table. I don't know whetther this will solve your problem. Could you post the code you are using so we can take a look at it.

----------
[email protected]
http://go.to/hass

They have: 2 posts

Joined: Sep 1999

I got it figured out and it was the form tags. What finally worked was placing them within the cell. The code is:

<table border="0" cellpadding="7" cellspacing="0" width="638">
<tr>
<td valign="top" width="20%" height="32"><font
color="#000080">PASSES</font></td>
<td valign="top" width="20%" height="32"><font
color="#000080">POSTCARDS</font></td>
<td valign="top" width="20%" height="32"><font
color="#000080">PAPERS</font></td>
<td valign="top" width="20%" height="32"><font
color="#000080">PHOTOS</font></td>
<td valign="top" width="20%" height="32"><font
color="#000080">HARDWARE</font></td>
</tr>
<tr>
<td valign="top" width="20%" height="32"  </td><form
name="guideform">
<p><select name="guidelinks" size="1">
<option selected value="passes.htm">CM Passes</option>
<option value="testonly.htm">test </option>
</select>    <input type="button" name="go"
value="Go!"
onclick="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
</p>
</form>
</td>
<td valign="top" width="20%" height="32"> </td>
<td valign="top" width="20%" height="32"> </td>
<td valign="top" width="20%" height="32"> </td>
<td valign="top" width="20%" height="32"> </td>
</tr>
</table>

Thanks for your help!

R Hatch

----------
R Hatch

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.