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 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:

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 RemovedImage Added
    • Paste the following code into the HTML box. This will cause all links (internal and external) to open in a new tab.

      <script>

      <script> jQuery(document).ready(function()

      {

      jQuery(".wiki-content

      a").attr("target",

      "_blank");

      });

      </

      script>

      script>

      Image RemovedSave the page and now links will

      Image Added

    • 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 

...