Open link in new window

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Masquerade
Beginner
Beginner
Posts: 2
Joined: Sat Jan 29, 2005 3:31 pm

Open link in new window

Post by Masquerade »

Hi
I downloaded the menu and have got it working.
Now I have this problem to make a link open in a new window:
Part of the code:

with(milonic=new menuname("Billeder")){
style=menuStyle;
overflow="scroll";
aI("text=Førfest d. 22/01-05;url=/menusample2.php;");
**aI("text=Nytår - 2004/2005;url=billeder/nytaar2004-2005/index.html;");**

This is the last line marked with ** that I need help with.
Normally I use target="_blank" but it dosent work here

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

Post by Ruth »

Hi,
What browser and OS? I've got win98se, IE5.5 and the following opens a new window:

Code: Select all

aI("text=Nytår - 2004/2005;url=billeder/nytaar2004-2005/index.html;target=_blank;"); 
Ruth
Masquerade
Beginner
Beginner
Posts: 2
Joined: Sat Jan 29, 2005 3:31 pm

Hmm wierd

Post by Masquerade »

That worked if I did that! *lol*
I must have done something wrong when I tried it! :?

Thanks alot! :D
Post Reply