G Guest Jun 21, 2005 #2 If by "scroll down button" you mean "drop down arrow", then <form> <select onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)"> <option>Select... <option value="http://www.yahoo.com">Yahoo</option> <option value="http://www.google.com">Google</option> <option value="http://www.lycos.com">Lycos</option> </select> </form>
If by "scroll down button" you mean "drop down arrow", then <form> <select onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)"> <option>Select... <option value="http://www.yahoo.com">Yahoo</option> <option value="http://www.google.com">Google</option> <option value="http://www.lycos.com">Lycos</option> </select> </form>
S Steve Easton Jun 21, 2005 #3 You shouldn't use onchange in a drop down select, you should use a Go button. With onchange, people who can't use a mouse will never be able to get past the first item in the list. -- Steve (e-mail address removed) www.crownlogistic.com Dan L said: If by "scroll down button" you mean "drop down arrow", then <form> <select onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)"> <option>Select... <option value="http://www.yahoo.com">Yahoo</option> <option value="http://www.google.com">Google</option> <option value="http://www.lycos.com">Lycos</option> </select> </form> Randy said: -- Thank you in advance for your time and help. Best regards, Randy Click to expand... Click to expand...
You shouldn't use onchange in a drop down select, you should use a Go button. With onchange, people who can't use a mouse will never be able to get past the first item in the list. -- Steve (e-mail address removed) www.crownlogistic.com Dan L said: If by "scroll down button" you mean "drop down arrow", then <form> <select onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)"> <option>Select... <option value="http://www.yahoo.com">Yahoo</option> <option value="http://www.google.com">Google</option> <option value="http://www.lycos.com">Lycos</option> </select> </form> Randy said: -- Thank you in advance for your time and help. Best regards, Randy Click to expand... Click to expand...
S Steve Easton Jun 21, 2005 #4 oops, You shouldn't use onchange in a drop down select, you should use a Go button. With onchange, people who can't use a mouse will never be able to get past the first item in the list. -- Steve Easton Microsoft MVP FrontPage 95isalive This site is best viewed.................. ...............................with a computer Dan L said: If by "scroll down button" you mean "drop down arrow", then <form> <select onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)"> <option>Select... <option value="http://www.yahoo.com">Yahoo</option> <option value="http://www.google.com">Google</option> <option value="http://www.lycos.com">Lycos</option> </select> </form> Randy said: -- Thank you in advance for your time and help. Best regards, Randy Click to expand... Click to expand...
oops, You shouldn't use onchange in a drop down select, you should use a Go button. With onchange, people who can't use a mouse will never be able to get past the first item in the list. -- Steve Easton Microsoft MVP FrontPage 95isalive This site is best viewed.................. ...............................with a computer Dan L said: If by "scroll down button" you mean "drop down arrow", then <form> <select onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)"> <option>Select... <option value="http://www.yahoo.com">Yahoo</option> <option value="http://www.google.com">Google</option> <option value="http://www.lycos.com">Lycos</option> </select> </form> Randy said: -- Thank you in advance for your time and help. Best regards, Randy Click to expand... Click to expand...