opening links in a new tab ????

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ArbolOne
Beginner
Beginner
Posts: 1
Joined: Tue Apr 28, 2009 4:28 pm

opening links in a new tab ????

Post by ArbolOne »

hello folks,

I want the links in a drop-down-menue to open in a new tab, instead of opening on the curreont page. How can this be done?

Thanks in advance
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: opening links in a new tab ????

Post by Ruth »

Hi,

First, just so we are on the same page, you cannot force a browser to open in a new tab unless you have the browser set to use tabs.

So with that said, there is a property called target which can be used, you would add target=new; to your aI string, i.e.

Code: Select all

aI(text=Milonic;url=http://milonic.com/;target=new;"); 
This property will open the link in either a new tab or new window depending on the browser's settings. Hope this helps.

Ruth
Post Reply