June 15th, 2002, 06:46 PM
Links opening in a new window
Hi, could someone tell me how I can get a link on my page to open in a new window? (yes i tried google)
Also, does anyone know any good website design forums other than Antionline?
June 15th, 2002, 06:56 PM
<a href="http://www.whereitlinksto.com" target="blank">your
there ya go
June 15th, 2002, 09:03 PM
You have to put a target attribute on the <a> element.
If as valhallen says, you put <a target="blank"> then it may not *always* open in a new window, it will open in a window called "blank" (if that window already exists, it will be reused).
Windows (and frames) have names, these cannot easily be seen, but are reused if you target another link at the same one. If that window doesn't exist, it is created.
Perhaps you want <a target="_blank"> ?
June 15th, 2002, 09:55 PM
I tried putting that as a link, but I got an error message "No such device or address". what have i done wrong?
Mama always said, keep your virus definitions up to date.
June 15th, 2002, 10:27 PM
yeah "_blank" will work better.
June 16th, 2002, 02:29 AM
"No such device or address" sounds a bit dodgy.
Are you sure you put in the href attribute correctly? AFAIK, setting the target to either "_blank" or "blank" should not cause that message, but screwing up the href (conceivably) might.
Check that your href attribute contains a valid relative or absolute URL.
June 16th, 2002, 04:23 PM
you need to use _blank. blank is not html 4.0 confirming..
just add the target param to you a tag as alread described
June 17th, 2002, 05:36 PM
The Nelson-Shepherd cutoff: The point at which you realise someone is an idiot while trying to help them.
\"Well as far as the spelling, I speak fluently both your native languages. Do you even can try spell mine ?\" -- Failed Insult
Is your whole family retarded, or did they just catch it from you?
June 17th, 2002, 05:46 PM
I think he should use _oogyboogy
\"Ignorance is bliss....
but only for your enemy\"
June 17th, 2002, 05:47 PM
Hold down shift key when you click the link......