New Spoiler Alert Show/Hide Feature

Started by AmyG, Jul 15, 2017, 10:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AmyG

I just added a new "spoiler alert" feature to the forum. There's an Sp button on the editor toolbar now that wraps your selected text in "spoiler" tags. If you add ="some text" to the opening spoiler tag, it will put that text on the line. Then readers can choose to show the text or not as they see fit. Hope you all find this useful.

Ending of The Wizard of Oz: ShowHide
Suddenly, Glinda returns and tells her that she can still return home by using the ruby slippers. After sharing a tearful farewell with her friends, she follows Glinda's instructions and taps her heels together three times and repeats, "There's no place like home". She wakes up in bed at her home in Kansas, surrounded by her family, the farmhands, Professor Marvel, and Toto. Though they dismiss her adventure as a dream, she insists that it was all real, and that there is no place like home.


Other things you can do with this tag:
  • text= Replaces default "SPOILER" text in the header.
  • quote= Text that follows the "SPOILER" text in the header.  Must be in quotes.
  • show= Replaces default "SHOW" text in the header.
  • hide= Replaces default "HIDE" text in the header.
  • guests= Flag to show spoiler to guests or not.  May be n, no, false, y, yes, or true.

MartinG

That's terrific Amy - great idea. Thanks very much  :-*
Morals tomorrow