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
Solved

Opening a new window from a link.....

Posted on 2000-05-04
4
131 Views
Last Modified: 2010-04-09
Can anyone tell me how to open a link in a new window?
0
Comment
Question by:java_lover
4 Comments
 
LVL 8

Accepted Solution

by:
xabi earned 20 total points
ID: 2779662
If the link is:

<a href="foo.htm">Click here</a>

change it into:

<a href="foo.htm" target="_blank">Click here</a>

xabi
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 2779854
or if you want a totally new and speical window (with wi8dth and height etc) you can do:

<a href="javascript:openwindow(...)">Click here</a>
0
 

Author Comment

by:java_lover
ID: 2779978
Thanx!!
0
 

Expert Comment

by:WEBSlave
ID: 2782163
Right click on the link and select "open in new window"
Works every time...
WEBSlave
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Change Background Color of Website 5 29
VBScript on Html 15 47
Do alert on select 6 13
custom authorization on controller action and HTML in asp.net mvc 1 25
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.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

856 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