Solved

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

Posted on 2010-08-27
6
431 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
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 to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
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…

813 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

14 Experts available now in Live!

Get 1:1 Help Now