Solved

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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Find out what you should include to make the best professional email signature for your organization.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
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)

713 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