Solved

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

Posted on 2000-05-04
4
130 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article discusses four methods for overlaying images in a container on a web page
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

770 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