Solved

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

Posted on 2010-08-27
6
433 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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Responsive Font Size 6 45
Mobile apps - web/native or hybrid? 1 63
How do I show a login page over the login page? 5 38
Increase image taller on inner pages 2 9
This article discusses four methods for overlaying images in a container on a web page
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
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…

680 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