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
Printable View
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
<a href="http://www.whereitlinksto.com" target="blank">your
link here</a>
there ya go
v_Ln
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"> ?
I tried putting that as a link, but I got an error message "No such device or address". what have i done wrong?
yeah "_blank" will work better.
"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.
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
_new will also work.
I think he should use _oogyboogy
Hold down shift key when you click the link......