Open external link in new tab

User 126812 Photo


Registered User
32 posts
Online Now

I have links in my author website that go directly to the book in Amazon, but they open in the tab I am in. Is there a way to have them open in a new tab, so that my site remains open? I am using a Button Link.
User 2699991 Photo


Registered User
5,256 posts
Online Now

Yes there is but with caution

1/ set the link target to
_blank

Go the link attribute and select "CUSTOM"

replace custom with rel
then the value as noopener (no spaces all lower-case)

it's usual and also considered best practice to indicate somewhere on the link that the link will open a new page,,but that's up to you.
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 126812 Photo


Registered User
32 posts
Online Now

Thank you. Worked like a charm. You are a superhero!

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.