Wiki source code of Show Hide Macro

Last modified by Clemens Robbenhaar on 2024/04/09

Show last authors
1 The following content can be hidden by default and displayed on demande:
2
3 == Without effect ==
4
5 {{showhide id="1" showmessage="Show" hidemessage="Hide" style="background-color: #ccc"}}
6 Here is some hidden content that can become visible
7 Here is some hidden content that can become visible
8 Here is some hidden content that can become visible
9 Here is some hidden content that can become visible
10 {{/showhide}}
11
12 {{code}}
13 {{showhide id="1" showmessage="Show" hidemessage="Hide" style="background-color: #ccc"}}
14 Here is some hidden content that can become visible
15 Here is some hidden content that can become visible
16 Here is some hidden content that can become visible
17 Here is some hidden content that can become visible
18 {{/showhide}}
19 {{/code}}
20
21 == With scriptaculous effect "appear" ==
22
23 {{showhide id="2" showmessage="Show" hidemessage="Hide" effect="appear" effectduration="2" style="background-color: #ccc"}}
24 Here is some hidden content that can become visible
25 Here is some hidden content that can become visible
26 Here is some hidden content that can become visible
27 Here is some hidden content that can become visible
28 {{/showhide}}
29
30 {{code}}
31 {{showhide id="2" showmessage="Show" hidemessage="Hide" effect="appear" effectduration="2" style="background-color: #ccc"}}
32 Here is some hidden content that can become visible
33 Here is some hidden content that can become visible
34 Here is some hidden content that can become visible
35 Here is some hidden content that can become visible
36 {{/showhide}}
37 {{/code}}
38
39 == With scriptaculous effect "slide" ==
40
41 {{showhide id="3" showmessage="Show" hidemessage="Hide" effect="slide" effectduration="0.5" style="background-color: #ccc"}}
42 Here is some hidden content that can become visible
43 Here is some hidden content that can become visible
44 Here is some hidden content that can become visible
45 Here is some hidden content that can become visible
46 {{/showhide}}
47
48 {{code}}
49 {{showhide id="3" showmessage="Show" hidemessage="Hide" effect="slide" effectduration="0.5" style="background-color: #ccc"}}
50 Here is some hidden content that can become visible
51 Here is some hidden content that can become visible
52 Here is some hidden content that can become visible
53 Here is some hidden content that can become visible
54 {{/showhide}}
55 {{/code}}
56
57 == With scriptaculous effect "blind" ==
58
59 {{showhide id="4" showmessage="Show" hidemessage="Hide" effect="blind" effectduration="3" style="background-color: #ccc"}}
60 Here is some hidden content that can become visible
61 Here is some hidden content that can become visible
62 Here is some hidden content that can become visible
63 Here is some hidden content that can become visible
64 {{/showhide}}
65
66 {{code}}
67 {{showhide id="4" showmessage="Show" hidemessage="Hide" effect="blind" effectduration="3" style="background-color: #ccc"}}
68 Here is some hidden content that can become visible
69 Here is some hidden content that can become visible
70 Here is some hidden content that can become visible
71 Here is some hidden content that can become visible
72 {{/showhide}}
73 {{/code}}
74

Get Connected