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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a new browser from a Javascript drop down menu

Status
Not open for further replies.
Aug 28, 2007
1
US
I have a working javascript dropdown menu, I can get it to link the page that I want, but I would like the page to open in a new browser window. I've tried adding basic HTML things like:
"target=_new"
"target=_blank"
target="_new"
target="_blank"
;_blank
:_new

and following the directions listed in the JS document.

but cannot get it to work - any help would be greatly appreciated.

The link is:
DQM_url1_5 = "2007-08-27_TermsCond.pdf"

and the only other text is in the document is :
3---Unique sub menu item URL targets may be defined with the
following parameter option. Allowable 'DQM_urltargetX' param values
include... _self, _parent, _new, or "my frame name".

DQM_urltargetX = "_new"

 
Hi

As you correctly observed, [tt]target[/tt] is HTML and has little to do with opening page with JavaScript. Post your code. A relevant piece, not just two word fragments.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top