Tab to open to an outside site

  • 2
  • Question
  • Updated 10 years ago
  • Answered
I just added a new tab on my site, would like for it to open to an outside site in a new window--external link, how can I do this?
Photo of CTCOCR

CTCOCR

  • 3 Posts
  • 0 Reply Likes
  • anxious

Posted 10 years ago

  • 2
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes
Hi CTCOCR

I had posted this some time ago. I hope that it helps you... Bear in mind that it will only work with images, text and created buttons. You cannot make a menu button link to anything but a page within your site.

http://getsatisfaction.com/SynthaSite...

To quote Ruth a wonderful Rep

"I should mention however, that the jury is still out on the wisdom of making your links open in a separate window. See http://www.sitepoint.com/article/bewa... for an excellent article by a leading expert in the field."

To make some pretty cool buttons http://cooltext.com/

Happy site building
ED
Photo of CTCOCR

CTCOCR

  • 3 Posts
  • 0 Reply Likes
Hi, I tried this code but it did not seem to work for me. can you give me an example?
Photo of CTCOCR

CTCOCR

  • 3 Posts
  • 0 Reply Likes
To add, I have a whole page of links, about 20 of them, what would you suggest is the quickest way to edit each link so they open a new window? thanks!
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi,

There is definitely a way to have a link open in a new window, but it means that you need to do a little HTML editing. Here are the steps:

1) Add text using the text widget
2) Select the text that you want the link and then click "insert link" on the text editing toolbar
3) Create your link to your chosen URL as normal, click ok
4) Then click "HTML" - the last icon on the text editing toolbar
5) You will see the code that looks like this for your link (I have used the text "Visit Wikipedia to see more information", with the link being on Wikipedia:
<!--- Visit <a href="http://www.wikipedia.org">Wikipedia&l...> to see more information<br> --->
All you need to do is add in target="blank" as show below:
<!--- Visit <a href="http://www.wikipedia.org" target="blank">Wikipedia</a> to see more information<br> --->

Don't use <!--- and ---> I have added these to stop the HTML from being interpreted.

Your link will then open in a new tab or window, depending on what browser your visitor is using.

Please note: current thinking in web usability circles is that links that open in a new window are a bad idea for a number of reasons. See: Beware of Opening Links in a New Window - http://www.sitepoint.com/article/bewa..., for a great article by a leading expert in the field.