Check out what I learned today! This is a very basic script on how to create dropdowns.
This first bit o' code is not the drop down menu itself but is necessary and must be placed somewhere above the drop down menu coding:
Code:
<script language="JavaScript">
<!--function go() [location=document.drop.example.
options[document.drop.example.selectedIndex].value}//-->
</script>
Then create your drop down menu using code like this:
Code:
<form name="drop">
<select name="example" size="1">
<option value="http://www.pc101.com">PC101</option>
<option value="http://www.google.com">Google</option>
<option value="http://www.yahoo.com">Yahoo</option>
</select><input type="button" name="test" value="Go!" onclick="go()"></form>
All together, the result should look like this...
<--link
I didn't think a drop down was so easily created!
Lyte