Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

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

Please refer to Syracuse University Editorial Style document which contains suggestions on voice, tone, and university terminology as well as School of Architecture Common Name Style Guide.

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

Subpages:


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.
    • 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>

    • If you just want external links to open in a new tab, use this code instead:
      <script>
      jQuery(document).ready(function() {
          jQuery(".external-link").attr("target", "_blank");
      });
      </script>
    • Save the page and test to confirm.

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

  • No labels