Linking to Other Websites Outside My Own Website's Frame

Hi,

I have a website: http://www.karathecomputertutor.com

If you click on "Tips" on the left, and scroll to the bottom of the page, you will see I have links to two other websites that might be helpful for my readers.

Thing is, when you click on those links, you can see the other websites but they stay INSIDE my frame. I want to be able to instead have those links actually go to the other websites themselves and have my reader leave my website completely when they click on them.

Does anyone know how to do this? I'm working in Dreamweaver (a fairly old version) and know a fair bit of HTML.

Thanks.

Kara
kara334Asked:
Who is Participating?
 
trailblazzyr55Commented:
this is a bit simpler... no javascript

<a href=" http://www.pctutorpa.com/maintenance.htm" target="_blank">Computer Tutor in Denver Website!</a>

~trail
0
 
Saqib KhanSenior DeveloperCommented:
ok do this on the link

<a href="#" onClick="parent.document.location='http://www.site.com';return false;">Spam Site</a>
0
 
trailblazzyr55Commented:
for new windows outside your frames just add the target="_blank" attribute to your link.

you can also specify other target locations in your frames using the frame name to open things in other locations. :o)

~trail
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
Saqib KhanSenior DeveloperCommented:
 > target="_blank"
I believe XP Service Pack2 is Blocking target="_blank" as well.
0
 
trailblazzyr55Commented:
adilkhan,

I have heard about SP2 blocking window.open() but not target="_blank". I'm not sure... I haven't seen anything yet at least, have you experienced any problems with using it in SP2?

~trail
0
 
kara334Author Commented:
Thank you trailblazzyr55. Your solution certainly worked for me!
0
 
trailblazzyr55Commented:
You're welcome, I'm glad I was able to help :o) thanks for the points

Best Regards,
~trail
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.