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) | ||
---|---|---|
|
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><script> jQuery(document).ready(function()
{
jQuery(".wiki-content
a").attr("target",
"_blank");
});
</
script>script>
Save the page and now links willIf 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
...