Site hosted by Angelfire.com: Build your free website today!

Satur Feb 14 2004 ...5:08...PM
adapted from http://milov.nl/forum/1/1031
search yahoo: form+select+options+selectedIndex+value++submit

<.form>
<.select name="s" onchange="if(options[selectedIndex].value=='0'){alert('Link!');}else{myWin=window.open('' + options[selectedIndex].value + '','myWin','');myWin.focus();return false;}">
<.option selected value="">Select a Link
<.option value="0">____________________________
<.option value="http://www.excite.com/"> Excite
<.option value="http://www.yahoo.com/"> Yahoo!
<.option value="http://search.aol.com/"> Search AOL
<.input type=reset value=reset>
<./select>
<./form>

Gather ye rosebuds while ye may

<.a href="http://www.microsoft.com" onClick="e = window.open('','newwin2','height=400,width=500'); e.document.write('Writing to another window, a blank window, from event handler') e.document.close(); return false;"> click here<./a>.

Gather ye rosebuds while ye may

click here.

click here.

<.a href="http://www.microsoft.com" onClick="e = window.open('','newwin2','height=400,width=500'); e.document.write('Writing to another window, a blank window, from event handler') e.document.close(); return false;"> click here<./a>.