How do you make the URL target as new?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
kevinpez
Beginner
Beginner
Posts: 1
Joined: Tue Apr 04, 2006 9:01 pm
Location: Providence, Rhode Island
Contact:

How do you make the URL target as new?

Post by kevinpez »

I'm making a simple menu and would like some of the links to open in a new window rather then the parent but I'm not sure how, could someone post an example for me. Thank you,
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

the item which opens a new page could contain something like

Code: Select all

aI("text=Youritemtext;url=anyurl;target=_blank;");
target=_new; will do it too, i think. try it.

Hope this helps
Michael
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

_new will work, but _blank is the "W3C way" (FWIW)...
John
Post Reply