Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page introduce documentation conventions to create structured and accessible documentation on the Syracuse University Answers platform.

...

Please contact archit@syr.edu regarding permission to contribute/edit School of Architecture pages.

Subpages:

Child pages (Children Display)
alltrue


Opening links in a new tab

  • To enable the use of the target="_blank" feature to open links in a new browser tab, do the following:
    • On the page, click the + sign and then Other Macro.
    • Search for html and add the HTML macro to the page. It will appear at the top of the page.
      Image Added
    • Paste the following code into the HTML box. This will cause all links (internal and external) to open in a new tab.

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

      Image Added
    • Save the page and now links will open in a new tab.

References

How to force links to open in a new window | Confluence | Atlassian Documentation 

HTML Macro | Confluence Data Center and Server 8.5 | Atlassian Documentation