Solved

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

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

746 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

9 Experts available now in Live!

Get 1:1 Help Now