The Flat Earth Society

The Flat Earth Society => Suggestions & Concerns => Topic started by: Pete Svarrior on March 30, 2014, 07:20:37 PM

Title: Spoiler tags
Post by: Pete Svarrior on March 30, 2014, 07:20:37 PM
Also, do we have working spoiler tags here, and if not, can we get some? I don't personally care about spoilers, but others do.
I just remembered seeing this and realised we don't have a thread about that here.

I have a solution that's almost ready for deployment. What do people think about this format?

A spoiler by default appears as black text on black background. If you have JavaScript enabled (most users), you can uncover it by clicking on the spoiler. Alternatively (and this will work without JavaScript too), you can highlight the relevant portion of the text.

I'm not quite certain how well this would work on mobile devices [EDIT: Apparently it works perfectly fine. I can tap the spoiler to show/hide it], but if people like the idea, I could probably get this finished soon.
Title: Re: Spoiler tags
Post by: rooster on March 30, 2014, 08:03:46 PM
+1 vote
Title: Re: Spoiler tags
Post by: Lemon on March 30, 2014, 08:06:03 PM
+1 vote
Title: Re: Spoiler tags
Post by: Snupes on March 30, 2014, 10:42:06 PM
I very much like this idea. :D
Title: Re: Spoiler tags
Post by: fappenhosen on March 30, 2014, 11:00:33 PM
Darth Vader is Luke Skywalker's father.
Title: Re: Spoiler tags
Post by: Thork on March 31, 2014, 06:17:38 AM
Darth Vader is Luke Skywalker's father.
Not yet! >o<
Title: Re: Spoiler tags
Post by: EnigmaZV on April 11, 2014, 07:37:54 PM
I feel validated now that my suggestion is getting looked at.
Title: Re: Spoiler tags
Post by: Pete Svarrior on May 07, 2014, 12:35:56 AM
Okay, the code for this is written and largely tested. Should be deployed whenever Parsifal gets around to it.

Whenever it's rolled out, the following should work:
Snape is Dumbledore's father
Why on Earth would you need colourful spoilers?
Title: Re: Spoiler tags
Post by: fappenhosen on May 07, 2014, 08:02:54 PM
Why code when you can install?

http://custom.simplemachines.org/mods/?mod=195

etc etc etc
Title: Re: Spoiler tags
Post by: Pete Svarrior on May 07, 2014, 08:31:03 PM
More often than not, SMF mods are a complete mess. Sure, if it was something that takes a long time to write, I'd probably just test and deploy a mod instead, but most of the time it's just not worth it.