Link to other sites in a new window?

User 406238 Photo


Registered User
199 posts

If I have a link to another website on my page, clicking it navigates to the linked site but doesn't keep my site open.
Is there a way around this in VSD?
Thanks - Boyd
Our personal site www.grandbanks42.com
User 406238 Photo


Registered User
199 posts

I just saw that somebody had posted a similar question earlier today.
Just to clarify; is there a way to force a new window to open on a client's browser when they click a link on my website?
Our personal site www.grandbanks42.com
User 38401 Photo


Senior Advisor
10,951 posts

Hiya Boyd,

To do this you need to add a target attribute to your links so they look something like this:

<a href="http://www.yourlinkhere.com" target="_blank" title="your title here">Link Text Here</a>

User 187934 Photo


Senior Advisor
20,271 posts

Boyd, Since your using VSD you can click on what you want to link then at the top of VSD click "Link" then in the Link Properties box to the right look at the bottom where it says Target. Select New Window (_blank). Jo Anns code is great for when you find it necessary to code links.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 406238 Photo


Registered User
199 posts

Jo Ann and Eric,
Once again thanks for your help!
My new site is temporarily "parked" in a dormant domain of mine at www.sign-here.ca while being built.
When its ready to launch it will have it's own domain, which I've already registered.
It's very much still under construction but I'd sure appreciate any constructive criticism the experts could provide. - Boyd
Our personal site www.grandbanks42.com
User 271657 Photo


Ambassador
3,816 posts

Beautiful site, Boyd! Very classy ;)
It would be good to have the main menu on every page instead of having to go back to home to get to another page. Besides, it's a great looking menu and makes a nice division between the head of the page and the content. :)
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.