Click to See Complete Forum and Search --> : Drop Down Menu for my webpage


amchooked
07-22-2003, 08:57 PM
I would like to put a drop down menu on my webpage so visitors can easily choose if they want to go to My Favorite Websites or wherever. I like this drop down menu better than using the usual home button or back button. I received a java script but no sure what goes where dont know if I should have copied it into my notepad or what. I tried a regular drop down menu but it didnt work; it was there but did not list option value names for the drop down menu instead a bunch of symbols and such; i am pretty sure this is because it was not javascript? If someone could help me with a code I would greatly appreciate it. I would like the menu to say "Where Would You Like to Go" and then for options it would be My Favorite Websites and the Storm Pond..... Please if you would like you may e-mail me with the information at spotteramc@aol.com
Thank You

Jupac
07-22-2003, 10:54 PM
use this

<SELECT style="width:130px;font:10px verdana, arial, sans-serif;text-decoration:none;background-color:#ffffff;" name=url onchange="javascript:if( options[selectedIndex].value != 'Teams') document.location = options[selectedIndex].value">
<OPTION selected>Where Would You Like To Go?</OPTION>
<OPTION value="http://www.your.com/">home</OPTION>
<OPTION value="http://www.your.com/">1</OPTION>
<OPTION value="http://www.your.com/">2</OPTION>
<OPTION value="http://www.your.com/">3</OPTION>

</SELECT>

pyro
07-22-2003, 11:09 PM
You could clean it up a bit like this:

<form>
<select name="download" onchange="window.location.href=this.options[this.selectedIndex].value;">
<option value="">Navigation</option>
<option value="http://www.w3c.org">W3C</option>
<option value="http://www.yahoo.com">Yahoo</option>
</select>
</form>

sciguyryan
07-23-2003, 07:32 AM
hi


I have a good menu if you like it download the file
attached!:D