Javascript drop-down box for navigation

This code will create a drop-down box that you can use for navigation on a website.   It uses Javascript.    See http://www.lori-v.com for this code in action.


CODE:

<form name="buyers">
<select  name="example3" size=1>
    <option selected value = "">Select here</option>
    <option value="http://www.lori-v.com/buyers.htm">Buyers Home</option>
    <option value="http://www.lori-v.com/listings.htm">Search For Homes</option>
    <option value="http://www.lori-v.com/buyersagent.htm">Why Have an Agent?</option>
    <option value="http://www.lori-v.com/preapproval.htm">Get Pre-Approved</option>
    <option value="http://www.lori-v.com/closingcosts.htm">Estimated Closing Costs</option>
    </select>&nbsp;
<input type="button" value="Go!" onClick="javascript:window.open(document.buyers.example3.options[document.buyers.example3.selectedIndex].value)"> <br>
</form>





Comments