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) | ||
---|---|---|
|
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>
If you just want external links to open in a new tab, use this code instead:
<script><script> jQuery(document).ready(function()
{
jQuery(".external-link").attr("target",
"_blank");
});
</
script>script>
Save the page and test to confirm.
References
How to force links to open in a new window | Confluence | Atlassian Documentation
...