Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: open
<select name="districts" onchange="window.location = this.options[this.selectedIndex].value" style="background-color: #F88C01; color: #FFFFFF; font-size: 9pt">
<option value="">Select a District
<option value="http://www.bham.wednet.edu">Bellingham, WA
<option value="name.html">Bellingham, WA
<option value="name.html">Bullingham, MS
If I just want to options that are off-site to pop a new window, how would I modify this script?
Thanks for any help!
Besides, a select element is not meant to trigger functionality. It is counterintuitive to use such elements (selects, radio buttons, and checkboxes) as a trigger to a function that navigates away from the page. If anything, use the select box to let the user select which page to go to, but let him/her make the final decision on whether to actually go there or not.