Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
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.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

895 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

15 Experts available now in Live!

Get 1:1 Help Now