PDA

View Full Version : Drop-down menu help


MedSaint
04-16-2005, 07:00 PM
hey guys i need your help...

how do you get a new window to open when you have your links in a drop down menu?

i have the following code:

<tr>
<td>
<SELECT onChange="self.location=this.options[this.selectedIndex].value" style="font-family: verdana; font-size: 10; background: #7CC576; color:#FFFFFF; border-style: solid; border-width: 2pt">
<option selected value="">selections</option>
<option value="http"//www.linkadress1.com">link 1</option>
<option value="http://www.linkadress2.com">link 2</option>
<option value="http://www.linkadress3.com">link 3</option>
</SELECT>
</td>
</tr>



thanks!

Terminator1138
04-16-2005, 07:07 PM
use _target after the link and set the target to equal blank

MedSaint
04-16-2005, 07:28 PM
use _target after the link and set the target to equal blank

thanks but i've done that and it didn't work! any other suggestions?

Terminator1138
04-16-2005, 08:17 PM
Okay you might be meaning jump menu then..
try this

<form name="form1" id="form1" method="post" action="">
<select name="jumpmenu" onchange="MM_jumpMenu('parent',this,0)">
<option value="somesite.com">somesite</option>
<option value="yahoo.com">yahoo</option>
<option value="google.com">google</option>
<option>unnamed1</option>
</select>
<input type="button" name="Button1" value="Go" onclick="MM_jumpMenuGo('jumpmenu','parent',0)" />
</form>

Obviously change to suit your needs.

gscragg
04-19-2005, 01:59 PM
Might need to include the code for that function in there