It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to open link in a new tab

Tommaso Vaccarella Feb 09, 2017

This question is in reference to Atlassian Documentation: Links

How to open a web link in a new tab?

4 answers

1 vote
Quentin Bellego Feb 09, 2017

Hello, you can ctrl+click a link to open it in a new tab

0 votes
Rob Woodgate Feb 09, 2017

Hi Tommaso,

These links show you how to force links to open i a new tab:

https://confluence.atlassian.com/confkb/how-to-force-links-to-open-in-a-new-window-213518072.html

https://confluence.atlassian.com/confkb/how-do-i-make-my-attachments-open-in-a-new-window-or-tab-313459830.html

As you're on the Cloud version you'll need to download an HTML macro for cloud if you want to do this; it is paid for but the pricing is very cheap.

Hello.

 

Without HTML or the source editor I solved it with a user macro.

I just entered the following code:

<script>
jQuery(document).ready(function() {
jQuery(".wiki-content a").attr("target", "_blank");
});
</script>

 

But: That affects ALL links on a page.

Can I somehow modify it so that only some links will be opened in a new page?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

915 views 7 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you