External Links in New Window?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
I adore Yola, so please don't take this as a criticism. However, when I have used other site building sites, when we add an external link, we have the option of having it come up in a new window, so the surfer doesn't lose their place on our site. I know they can use a browser backspace button to return, but every time I add an external link, I have to type this out, to remind people. It makes me reluctant to add external links. PLEASE can we have the option of adding links which will come up in a new window, leaving our own site running behind?
Thanks for all your great work. In fact this is my ONLY wish, Yola is practically perfect in every way!
Sally.
Photo of BritSAL

BritSAL

  • 217 Posts
  • 19 Reply Likes
  • Wishing

Posted 9 years ago

  • 1
Photo of Valika

Valika

  • 119 Posts
  • 12 Reply Likes
Sally,

This option really would be great. In the meantime you can use the existing functions to make this work. See Monique's answer for that question in the following topic:
http://tinyurl.com/yfb5dzm
I hope this helps.
Photo of jeremy

jeremy, Employee

  • 1349 Posts
  • 90 Reply Likes
Hi there BritSAL,

It is possible to have an image link open in a new window by editing the HTML. Here are the steps:

1. Add an image using the text widget (drop a text widget and click "insert image" on the text editing toolbar - it is the icon that looks like a picture in a frame).
2. Click on the image and then click "insert link" on the text editing toolbar.
3. Create your link to your chosen URL as normal.
4. Then click "HTML" - the last icon on the text editing toolbar.
5. You will see the code that looks like this for your image link (using Yola's website and one of my own images as an example):
`<a href="http://www.yola.com&quot;&gt;&lt;img src="resources/image.jpg"></a>`
All you need to do is add in target="blank" as show below:
`<a href="http://www.yola.com&quot; target="blank"><img src="resources/image.jpg"></a>`

Please remember to include any folder names in the path if your file is stored in a folder. For example: ` "resources/Pictures/image.jpg" `

Your image 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: <a href="http://www.sitepoint.com/article/bewa... of Opening Links in a New Window</a>
, for a great article by a leading expert in the field.

I hope this helps.