-
June 15th, 2002, 05:46 PM
#1
Senior Member
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?
Thanks
-
June 15th, 2002, 05:56 PM
#2
<a href="http://www.whereitlinksto.com" target="blank">your
link here</a>
there ya go
v_Ln
-
June 15th, 2002, 08:03 PM
#3
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, 08:55 PM
#4
Senior Member
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, 09:27 PM
#5
yeah "_blank" will work better.
-
June 16th, 2002, 01:29 AM
#6
"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, 03:23 PM
#7
Junior Member
you need to use _blank. blank is not html 4.0 confirming..
just add the target param to you a tag as alread described
testtext
-
June 17th, 2002, 04:36 PM
#8
Chris Shepherd
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, 04:46 PM
#9
I think he should use _oogyboogy
\"Ignorance is bliss....
but only for your enemy\"
-- souleman
-
June 17th, 2002, 04:47 PM
#10
Member
Hold down shift key when you click the link......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|