Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Reply
 
Topic Tools
  #1  
Old December 11th, 2002, 06:28 PM
RichardJones RichardJones is offline
Senior Member
 
Join Date: Dec 2000
O/S: Windows XP Pro
Location: Woking, Surrey, UK
Age: 28
Posts: 459
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
__________________
http://www.richardjones.info

Processor: Duron 1100
RAM: 256MB
OS: WinXP
Reply With Quote
  #2  
Old December 11th, 2002, 06:32 PM
RichardJones RichardJones is offline
Senior Member
 
Join Date: Dec 2000
O/S: Windows XP Pro
Location: Woking, Surrey, UK
Age: 28
Posts: 459
I have looked at some source code on the internet. Does the following line do this?

" target="_blank"


Cheers
Richard
__________________
http://www.richardjones.info

Processor: Duron 1100
RAM: 256MB
OS: WinXP
Reply With Quote
  #3  
Old December 11th, 2002, 08:23 PM
rockboy's Avatar
rockboy rockboy is offline
Cyber Tech Help Moderator
 
Join Date: Aug 2002
O/S: Windows XP Pro
Location: California, USA
Posts: 2,380
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)
Reply With Quote
  #4  
Old December 11th, 2002, 10:08 PM
Spider's Avatar
Spider Spider is offline
Cyber Tech Help Moderator
 
Join Date: Nov 2001
O/S: Windows Vista 32-bit
Location: Vancouver, Canada
Posts: 10,526
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/\\\

Reply With Quote
  #5  
Old December 15th, 2002, 03:52 PM
RichardJones RichardJones is offline
Senior Member
 
Join Date: Dec 2000
O/S: Windows XP Pro
Location: Woking, Surrey, UK
Age: 28
Posts: 459
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
__________________
http://www.richardjones.info

Processor: Duron 1100
RAM: 256MB
OS: WinXP
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:31 AM.

[ RSS ]