Changes between Version 8 and Version 9 of SpoilerMacro
- Timestamp:
- Sep 22, 2016, 6:35:27 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SpoilerMacro
v8 v9 6 6 7 7 This macro adds a "Spoiler!" button around text content of the macro so that it is hidden from view until you hit the button. This implements a concept that was mentioned on the trac-user mailing list. It replicates [http://css-tricks.com/examples/SpoilerRevealer/ this approach] with some cleanups to make it work better as a macro. You can show or hide a particular spoiler by clicking on it. A button to show and hide all the spoilers is also injected into the page. 8 9 {{{ 10 11 This is a [[Spoiler([wiki:WikiStart spoiler!])]]. 12 13 {{{ 14 #!Spoiler 15 16 This is a much bigger bit of spoiler info with [wiki:StartPage wiki markup] 17 18 And it's a lot more complicated 19 20 ||it||even||has|| 21 ||a||table||inside|| 22 23 }}} 24 }}} 25 26 You can see a [http://www.youtube.com/watch?v=TyuelS_e0Js video of this] in action as well. 8 27 9 28 == Bugs/Feature Requests … … 32 51 }}} 33 52 34 == Example35 36 {{{37 38 This is a [[Spoiler([wiki:WikiStart spoiler!])]].39 40 {{{41 #!Spoiler42 43 This is a much bigger bit of spoiler info with [wiki:StartPage wiki markup]44 45 And it's a lot more complicated46 47 ||it||even||has||48 ||a||table||inside||49 50 }}}51 }}}52 53 You can see a [http://www.youtube.com/watch?v=TyuelS_e0Js video of this] in action as well.54 55 53 == Recent Changes 56 54