Pull Down Menu Options and Targeting

by "Weathervane Graphics" <weather(at)shentel.net>

 Date:  Fri, 7 Jan 2000 08:27:18 -0500
 To:  <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
I'm trying to figure out a way to make certain options in a pulldown menu
target "_self" while others target "_new". Does anyone know if this is
possible? Here is an example of the code I am working with. As you can see,
all my options are currently targeting "_self". Any help would be greatly
appreciated.

<form method="get">Make a selection:<br>
<select size="4"
onchange="window.open(this.options[this.selectedIndex].value,'_self')">
  <option value="./">Home</option>
  <option
value="http://www.thisisanexample.com/index.html">Relocation</option>
  </select>
  </form>

=Weatherly Morgan=

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA