Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Conflict with Anchor Tag & Script to open links to a new tab/window

Anita Pinto August 12, 2020

Hi,

Re Confluence

I am trying to hyperlink images to open to external links using the script below:

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

this works.

BUT then the anchor macro does not work. Anchor macros takes you to a section on a long page.

Any guidance would be most appreciated.

Thanks

Anita

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events