Changes for page Show Hide Macro

Last modified by jklein on 2025/06/02 14:04

From version 9.10
edited by jklein
on 2025/06/02 09:59
Change comment: There is no comment for this version
To version 11.1
edited by jklein
on 2025/06/02 10:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,9 +4,12 @@
4 4  XWiki 5.x or more.
5 5  
6 6  {{showhide title="PublicAPI" effect="slide" effectduration="0.5"}}
7 -Inhalt
8 -Inhalt
9 -Inhalt
7 +{{code language="PowerShell"}}
8 +Hier steht neuer Code
9 +Code
10 +Code
11 +Code
12 +{{/code}}
10 10  {{/showhide}}
11 11  
12 12  {{info}}
XWiki.JavaScriptExtension[0]
Use this extension
... ... @@ -1,1 +1,1 @@
1 -onDemand
1 +currentPage
XWiki.StyleSheetExtension[0]
Code
... ... @@ -41,3 +41,14 @@
41 41  .showhidebutton a:hover {
42 42   text-decoration: underline;
43 43  }
44 +
45 +.showhide-icon {
46 + color: #0645ad; /* typisches Link-Blau */
47 + text-decoration: underline;
48 + cursor: pointer;
49 +}
50 +
51 +.showhide-header:hover .showhide-icon {
52 + text-decoration: underline;
53 + color: #0b0080; /* dunkler beim Hover */
54 +}
© Aagon GmbH 2025
Besuchen Sie unsere Aagon-Community