Solved

How to make a link to open in a new window?

Posted on 2010-08-27
6
428 Views
Last Modified: 2013-12-11
Hi Experts,
I have an application which I installed on websphere. I need to make the link to it that when it is clicked it opens in a new browser, how do I do that?

thanks,
Nasrin
0
Comment
Question by:DESEI-SELB
6 Comments
 
LVL 7

Accepted Solution

by:
Animasu earned 42 total points
ID: 33542319
http://www.pageresource.com/html/newwin.htm

Check the above link, I think that may be what you are looking for

Hope this helps

- Animasu
0
 
LVL 9

Assisted Solution

by:shalabhsharma
shalabhsharma earned 42 total points
ID: 33542375
JSP function  window.open( ) opens a new browser window. The syntax of this method is :

window.open('url','window name','attribute1, attribute2') :
0
 
LVL 40

Assisted Solution

by:gurvinder372
gurvinder372 earned 41 total points
ID: 33542439
something like this
<a href="http://www.yahoo.com" target="_blank">Go to Yahoo</a>

http://www.echoecho.com/htmllinks10.htm
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:DESEI-SELB
ID: 33542924
sorry, I guess I was not clear. what I am asking is not inside a program. let say I want to send the target of the page to someone, but she wants that open in a new browser, is there a way to do that?

thanks,
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 33542956
this?
<a href="#" onclick="window.open('http://www.yahoo.com')">Go to Yahoo</a>

0
 

Author Closing Comment

by:DESEI-SELB
ID: 33558629
Thanks all.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now