Solved

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

Posted on 2010-08-27
6
435 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

 

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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

688 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