![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2008
Posts: 4
OS: XP
|
[SOLVED] Open link in a New Window ?
I am sorry I posted this in another area mistakenly.
My questions is this: If I want the following link to open in a new window, what would I need to add to the code? Thanks! Menu1_1=new Array("Outside Link","http://www.outsidelink.com","",0,75,200); |
|
|
|
|
|
#3 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Northampton, UK
Posts: 1,090
OS: Win Vista Home Premium & Ubuntu Hardy(8.04)
|
Re: Open link in a New Window ?
Hey, glad you got it sorted... just to add, if this is the regular "<a href='blah.htm'..." link you could just add the target attribute to make it open in a new window (though you wouldn't have a javascript handle to it[which would only matter if you need to close/change the url from the main window])...
e.g: Code:
<a href="mynewwindow.html" target="_blank">This would open in a blank window</a> Cheers, Jamey Last edited by jamiemac2005 : 10-02-2008 at 04:17 PM. |
|
|
|
![]() |
| Thread Tools | |
|
|