Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Jump menu items won't open in new page

Status
Not open for further replies.

boballoo

Technical User
Apr 21, 2002
6
JP
Does anyone know why won't this work? I want the menu items in my jump menu to open in a new "_blank" page.


Can't I just do it this way:
Code:
<option value=&quot;[URL unfurl="true"]http://www.editfast.com/editsub.htm&quot;[/URL] target=&quot;_blank&quot;>Submissions</option>

or do I have to change something in the <head> script:

Code:
<script language=&quot;JavaScript&quot;>
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+&quot;.location='&quot;+selObj.options[selObj.selectedIndex].value+&quot;'&quot;);
if (restore) selObj.selectedIndex=0;
}
//-->
</script>[/code]

OR do I have to change something here:

Code:
<form name=&quot;form1&quot;>
                <select name=&quot;menu1&quot; onChange=&quot;MM_jumpMenu('parent',this,0)&quot;>


Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top