bspahr
01-24-2005, 09:41 PM
I have the following html select menu - I want to be able to open some of the links in there own windows. I tried to use target="_blank" but could not get it to work.
<form>
<td>
<select id="UserGroups" name="shortcut" onChange="if (this.form.shortcut[this.form.shortcut.selectedIndex].value) window.location=this.form.shortcut[this.form.shortcut.selectedIndex].value;" style="font: 10px verdana, arial, sans-serif; color: #636163; text-decoration: none;">
<option value="">Navigation >></option>
<option value="1.asp">Link 1</option>
<option value="2.asp">Link 2</option>
<option value="3.asp">Link 3</option>
<option value="4.asp">Link 4</option>
</select>
</td>
</form>
<form>
<td>
<select id="UserGroups" name="shortcut" onChange="if (this.form.shortcut[this.form.shortcut.selectedIndex].value) window.location=this.form.shortcut[this.form.shortcut.selectedIndex].value;" style="font: 10px verdana, arial, sans-serif; color: #636163; text-decoration: none;">
<option value="">Navigation >></option>
<option value="1.asp">Link 1</option>
<option value="2.asp">Link 2</option>
<option value="3.asp">Link 3</option>
<option value="4.asp">Link 4</option>
</select>
</td>
</form>