Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-04-2013, 07:14 PM   PM User | #1
Bradley5
New to the CF scene

 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Bradley5 is an unknown quantity at this point
Open link in new window

How can I code this so it opens in a new window? Thank You

Code:
Menu13=new Array("rollover:bdonations.gif:bdonations2.gif","http://www.store-worldministries.org/donations.html","",0);
Bradley5 is offline   Reply With Quote
Old 01-05-2013, 07:47 AM   PM User | #2
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
I assume you are referring to the .html page:

Code:
var newone = window.open("http://www.store-worldministries.org/donations.html", "_blank"); // or
var newone = window.open(Menu13[1], "_blank");
"_blank" is actually the default, but it is not guaranteed to open a new window - it can depend on the users' browser settings.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote
Reply

Bookmarks

Tags
open new window

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:20 PM.


Advertisement
Log in to turn off these ads.