the HREF tag that makes a new window open when clicked
Hi there
I'm looking for the code for a link that will open a new window
please score me a good resource to search out if you can
thanks
Andrew
Hi there
I'm looking for the code for a link that will open a new window
please score me a good resource to search out if you can
thanks
Andrew
fairhousing posted this at 03:18 — 5th December 2000.
They have: 1,587 posts
Joined: Mar 1999
<A HREF="link.html" TARGET="_blank">
'Aidan Bahta posted this at 03:21 — 5th December 2000.
They have: 9 posts
Joined: Dec 2000
I believe you can also use TARGET="new" to do the same thing.
KeithMcL posted this at 09:46 — 5th December 2000.
He has: 176 posts
Joined: Oct 1999
And you can also use target="_top"
caislander posted this at 16:53 — 5th December 2000.
They have: 30 posts
Joined: Oct 2000
Hi All,
Why not JavaScript like thisor something in that vain? At least you have control over size and location of the popup window. Not Good ???
Later On
CaIslander
From The Land Of SunShine, Surf & Code
WebXpertz Community Forums for Webmasters & Developers
andy4444 posted this at 22:26 — 5th December 2000.
They have: 20 posts
Joined: Oct 2000
It looks wicked but I can't get it to work
this is my link to it : http://205.178.180.120/motelsandhotels.co.nz/jscriptjump.htm
this is my code:
<script language="Javascript">
</script>
It don't work
caislander posted this at 22:40 — 5th December 2000.
They have: 30 posts
Joined: Oct 2000
hi Again,
Remove the <script> tags from around the link, as it isn't needed, then use the link like any other link
put this in
Search Here I changed the URL of your page to an absolute to check the link, you can change it back to a reletive address.
Later On
CaIslander
From The Land Of SunShine, Surf & Code
WebXpertz Community Forums for Webmasters & Developers
andy4444 posted this at 23:15 — 5th December 2000.
They have: 20 posts
Joined: Oct 2000
Thanks alot I've got it going now, much better than the other one - now to get it to a full size screen - will the size differ with different resolutions or different size monitors?
Thanks again mate
caislander posted this at 01:55 — 6th December 2000.
They have: 30 posts
Joined: Oct 2000
Hey Andy,
If you always need the window to be a full window then use one of the other methods listed above as it will save you some coding , use this setup when you need a specific sized window or to have a window a certin size and wish to control the placement on the viewers screen. But if you just want a full window use the target="" attributes listed above.
Later
CaIslander
From The Land Of SunShine, Surf & Code
WebXpertz Community Forums for Webmasters & Developers
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.