Solved

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

Posted on 2010-08-27
6
429 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…

929 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

12 Experts available now in Live!

Get 1:1 Help Now