topshot_2k
Banned
Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
|
just knocking together a quick HTML form for our internal pages, and want to use a jump menu.
However i have added all of the options/URLs but when i choose one of the options i want it to open in new window rather than the current one.
Can anyone help? Im using Dreamweaver8
Bit of the html:
<form name="form2" target="_blank">
<div align="center">
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
<option>Please Select</option>
<option value="/Downloads/School_gov/curriculum/CUR-01 Curriculum Policy.pdf" target='_blank'>CUR-01 Curriculum Policy</option>
|
AndyKent
Member
Registered: 3rd Sep 05
User status: Offline
|
do you not need to change this -> MM_jumpMenu('parent',this,0)"
to blank or something?
parent sounds like it will jump in the current window...
|
topshot_2k
Banned
Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
|
i tried changing it to blank but i then got unidentfied errors on the page
|
AndyKent
Member
Registered: 3rd Sep 05
User status: Offline
|
Try -> MM_jumpMenu('window.open()',this,0)
|
topshot_2k
Banned
Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
|
quote: Originally posted by aPk
Try -> MM_jumpMenu('window.open()',this,0)
Nice matey, thanks a lot
|