Changes for page Home
Last modified by Administrateur local on 2026/03/01 15:03
From version 15.1
edited by Administrateur local
on 2026/02/23 10:27
on 2026/02/23 10:27
Change comment:
There is no comment for this version
To version 24.1
edited by Administrateur local
on 2026/02/28 15:14
on 2026/02/28 15:14
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -38,7 +38,7 @@ 38 38 {{hardis-custom-table noBorder="true" alignment="center" atlassian-macro-output-type="INLINE"}} 39 39 (% style="margin-left:auto; margin-right:auto" %) 40 40 |(% colspan="5" %)((( 41 -[[~[~[image:Workvivo.png~|~|width="250"~]~] >>url:https://hardis-group.workvivo.com/]]41 +[[~[~[image:Workvivo.png~|~|width="250"~]~]>>url:https://hardis-group.workvivo.com/]] [[~[~[image:confluence.png~|~|height="58" width="286"~]~]>>url:https://docs.hardis-group.com/doccenter]] 42 42 ))) 43 43 | | | | | 44 44 |(((
- confluence.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.adminlocal - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.9 KB - Content
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,11 +1,23 @@ 1 -function fixExternalLinks() { 1 +function fixOpenLinksInNewTab() 2 +{ 2 2 var nodes = document.querySelectorAll('.wikiexternallink a'); 3 - for(var i=0; i< nodes.length; i++){ 4 + for(var i=0; i< nodes.length; i++) 5 + { 4 4 var link = nodes[i]; 5 - if (link.hasAttribute('target') == false) { 7 + if (link.hasAttribute('target') == false) 8 + { 6 6 link.setAttribute('target', '_blank'); 7 7 } 8 8 } 12 + var nodes = document.querySelectorAll('.wikiattachmentlink a'); 13 + for(var i=0; i< nodes.length; i++) 14 + { 15 + var link = nodes[i]; 16 + console.log('hardis link:' + link) 17 + if (link.hasAttribute('target') == false) 18 + { 19 + link.setAttribute('target', '_blank'); 20 + } 21 + } 9 9 } 10 -document.addEventListener("DOMContentLoaded", fixExternalLinks); 11 - 23 +document.addEventListener("DOMContentLoaded", fixOpenLinksInNewTab); - Name
-
... ... @@ -1,1 +1,1 @@ 1 -Open externallink in new tab1 +Open link in new tab