Dropdown click and go

Instead of using the dropdown to click a server link, then having to click the green arrow to connect, why not use JS to connect when the link is chosen? There are several methods out there, this is one I use on my site (or part of it anyway).

M

__________

<!--
function gone1()
{
//location=document.clickit.area.options[document.clickit.area.selectedIndex].valu
e
var targetURL=document.clickit.area.options[document.clickit.area.selectedIndex].val
ue
window.open(targetURL,target="alemain");
}
//-->
</script>
<select class="input_text" name="area" size="1" onchange="gone1()" style="width: 155; height: 23; font-family: Arial; font-size:9pt; font-weight: bold">
<option class="bground">PREMISES BY AREA</option>
<option class="yellow" value="belfastnorth.html">Belfast North </option>
<option class="blue" value="belfastsouth.html">Belfast South</option>
ETC. ETC.

The class defines the link colour background so they alterenate and the first option is the non click header.

Saves having a redundant GO button.


M.