|
#1
|
|||
|
|||
|
links opening in new window
Hi
I have a links page on my web site. If someone clicks on a link I want the site to open in a new window so that there is still a window with my site in. I am using dreamweaver but am quite happy to mess around with the html. How do I do this? Cheers Richard |
|
#2
|
|||
|
|||
|
I have looked at some source code on the internet. Does the following line do this?
" target="_blank" Cheers Richard
|
|
#3
|
||||
|
||||
|
Yes.
If you look at the source code on this page, your own signature line is a perfect example.
__________________
Moderator for Website&Graphics and Jokes Forums (Dan, I am) The W3C HTML Markup Validation Service | The W3C CSS Validation Service If we have helped you, please consider supporting Cyber Tech Help with a subscription. ~ ~ ~ There is a road, no simple highway, Between the dawn and the dark of night, And if you go no one may follow, That path is for your steps alone. (Hunter/Garcia) |
|
#4
|
||||
|
||||
|
What RichardJones was pointing out was that target="_blank"
would be inserted in a link like <a href="http://www.google.com" target="_blank">Google</a> If you have multiple links on the page and you want all of them opening _blank then you can tell the page to do that by inserting (just under where it has the </head>) <base target="_blank"> Then all links like <a href="http://www.google.com">Google</a> will open in a new browser.
__________________
Microsoft MVP - 2007/2008 •• •·•• ··· ·· ••·
º EVEREST º You can subscribe to Cyber Tech Help for as little as $5.00! subscribing. Help us help. What's the latest news? Check CTH News ......///\oo/\\\ |
|
#5
|
|||
|
|||
|
HI
Thanks for the replies guys. I just want to make my web site look a bit better. Am trying to get a job and giving out the address left right and centre. Cheers again Richard |
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 05:31 AM.
[
RSS ]








