Page 1 of 2
Spoiler code tag
Posted: Sat Jan 24, 2009 5:19 pm
by JediTricks
Ok, so I've created a new piece of BB code, it's right there on the editor bar as well, it's a spoiler tag system. When used around spoiler code, it will created the "spoiler" warning and explanation about highlighting to read it. Here's an example:
Using this... [spoiler
]It's as simple as that![/spoiler] creates...
It's as simple as that!
If you have any suggestions for changes, LMK.
Re: Spoiler code tag
Posted: Mon Jan 26, 2009 6:31 am
by Dominic
This is useful.
Dom
-remember the old way of doing this.
Re: Spoiler code tag
Posted: Sun Feb 08, 2009 2:08 pm
by JediTricks
I actually had visions of crafting a mouseover or click-to-view system, I basically know the coding that would be required, but I've never implimented it before and I didn't really want to get into a meaty project when something simple yet effective could do the trick just as well.
Re: Spoiler code tag
Posted: Wed Aug 04, 2010 8:47 pm
by JediTricks
Ok, so I've revamped the spoiler system a little, now you don't have to highlight to read, merely mouse-over. I'll demonstrate...
Black Ice isn't half-bad for a Brian Johnson-AC/DC album
Pretty keen, right? It can also be done inline, so
this part is a spoiler
and this part is not. The spoiler pre-text is customizable, and I may just dump it in favor of a background image that says "spoiler", but for now it works.
Re: Spoiler code tag
Posted: Thu Aug 05, 2010 5:26 am
by andersonh1
Very nice. I like it.
Re: Spoiler code tag
Posted: Thu Aug 05, 2010 7:09 am
by Onslaught Six
Re: Spoiler code tag
Posted: Thu Aug 05, 2010 10:46 am
by JediTricks
I didn't think about this until late last night, but the spoiler tag isn't readable on certain mobile formats, especially the iphone OS, because they have no hover states (no cursors). I believe it also makes highlighting not reveal the text (it can be copied but it doesn't display different colored characters), so the old way was out too. Is anybody running into this problem yet, or is it an issue we can wait on?
Re: Spoiler code tag
Posted: Thu Aug 05, 2010 11:34 am
by Onslaught Six
I think Scourge posts from mobile sometimes. The way I see it, though, it's not an issue--we barely use the tags as it is, and only because there's rarely anything we're too concerned about spoiling.
Re: Spoiler code tag
Posted: Thu Aug 05, 2010 6:51 pm
by BWprowl
Yeah, I don't do any mobile browsing, so it's not a problem for me. And while O6 is right, and we don't use spoiler tags a whole lot, I like these mouse-over ones a bunch anyway, if only because they're like the ones on
4chan
.
Re: Spoiler code tag
Posted: Fri Aug 06, 2010 5:11 am
by Onslaught Six