<form name="combowithtext">
<font size="4" face="Century Gothic">Test:</font><p>
<select name="example" size="1" onChange="showtext()">
<option value=>Vælg Test</option>
<option value="Test_1.htm">Test 1</option>
<option value="Test_2.htm">Test 2</option>
<option value="Test_3.htm">Test 3</option>
</select>
<input type="button" value="Go!"
onClick="gothere()">
<script language="javascript">
<!--
var shortcut=document.combowithtext
var descriptions=new Array()
//extend this list if neccessary to accomodate more selections
descriptions[0]="vælg test"
descriptions[1]="vælg test 1"
descriptions[2]="vælg test 2"
descriptions[3]="vælg test 3"
function gothere(){
location=shortcut.example.options[shortcut.example.selectedIndex].value
}
function showtext(){
window.status=descriptions[shortcut.example.selectedIndex]
}
//-->
</script>
</p>
</form>
</font>
</p>
<p>
<form name="combowithtext1">
<p><font face="Century Gothic" size="4">Farve:</font></p>
<form name="combowithtext2">
<select name="example" size="1" onChange="showtext()">
<option value=>Vælg Test 2</option>
<option value="test_5.htm">Test 5</option>
<option value="test_6.thm">Test 6</option>
</select>
<input type="button" value="Go!"
onClick="gothere()">
<script language="javascript">
<!--
var shortcut=document.combowithtext
var descriptions=new Array()
//extend this list if neccessary to accomodate more selections
descriptions[0]="Click here for test 5"
descriptions[1]="Click here for test 6"
function gothere(){
location=shortcut.example.options[shortcut.example.selectedIndex].value
}
function showtext(){
window.status=descriptions[shortcut.example.selectedIndex]
}
//-->
</script>