www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariangela Hills (JIRA)" <j...@apache.org>
Subject [jira] [Created] (INFRA-7419) Enable ability to open external links in a new window
Date Mon, 10 Mar 2014 05:20:42 GMT
Mariangela Hills created INFRA-7419:

             Summary: Enable ability to open external links in a new window
                 Key: INFRA-7419
                 URL: https://issues.apache.org/jira/browse/INFRA-7419
             Project: Infrastructure
          Issue Type: Improvement
          Components: Confluence
            Reporter: Mariangela Hills

Currently, when a user clicks on an external link in [1] it opens in the same page. This can
be frustrating to the user, as they are directed away from the wiki docs. It will be great
if the following script can be added to open external links in new pages. 

1) Browse> Confluence Admin > Custom HTML
2) Add the following script at the end of the "At end of the HEAD" section.

jQuery(document).ready(function() {
  jQuery(".external-link").attr("target", "_blank");

[1] https://cwiki.apache.org/confluence/display/STRATOS/Home

P.S: We have used this script in WSO2 wiki spaces (e.g., [2]) and it work.
[2] https://docs.wso2.org/display/ESB481/WSO2+Enterprise+Service+Bus+Documentation

This message was sent by Atlassian JIRA

View raw message