View Full Version : dropdown boxes?


LoschaMartin
02-10-2005, 03:49 AM
Hi I need to figure out the code to make a dropdown box(like the one you would use in a form) but except when you click on it it automatically goes to the page where the name of the option is..like say if an option was a horses name, how could i make it so that when you click on it it automatically goes to the horse's individual page? Please help

Skipperkirk
02-10-2005, 04:01 AM
here is the code-->

(i got this off the main site :) )

<form ACTION=URI>
<select name=formname
onchange="location.href=(form.formname.options[form.formname.selectedIndex].value)">
<option value="0"> Choose One</option>
<option value="0"></option>
<option value="address here"> Horse name</option>
<option value="address here"> Horse name</option>
<option value="address here"> Horse name</option>
</select>
</form>