Page 1 of 1

Background colour as an option for text?

Posted: Mon Jan 16, 2006 10:57 am
by dragon wench
I just included a spoiler in a post to one of the gaming forums. As I always have done, I put it in black font with a warning to highlight in order to read.

The thing is, you can still more or less see black text on the new background. Would it be at all possible to provide a colour option for text that closely matches the background colour?

Not a big deal, obviously, just curious ;)

Posted: Sat Jan 21, 2006 5:19 am
by dj_venom
I remember Ik held the secret to that once, and he stole it from someone else. Unable to help myself, I stole it from then, but it seems I've lost it.

However, I should be able to find it, I'll do a quick hunt now.
Spoiler
Test
SUCCESS!

#201D17 is a close colour code... not sure how you'll remember that though, that's your job :p .

EDIT: Having re-read your post, I've realised this really wasn't what you wanted... rather, a button.

Perhaps a
Spoiler
tag could be implemented, so that way, it could be set up to keep the
Spoiler
, and colour the text, making it much easier.

Posted: Sat Jan 21, 2006 6:32 am
by Phreddie
I had stolen it from Ik as well, but ti doesnt work anymore, spoiler text would be nice though, make it a lot easier to keep people from accidently readint something they dont want to.

Posted: Sat Jan 21, 2006 3:12 pm
by BuckGB
Alright, I just implemented a new BB code to allow spoiler information to be hidden. Now, you can use use the word "spoiler" in between standard BB code brackets at the beginning of the text you want to hide. This will give it a font color of #201D17, which should make the text transparent without highlighting it. Just don't forget to use the closing code!

Posted: Sat Jan 21, 2006 3:14 pm
by Hill-Shatar
Spoiler
Thanks Buck!

Posted: Sat Jan 21, 2006 3:36 pm
by dragon wench
Spoiler
Cheers Buck!
:)

Posted: Sat Jan 21, 2006 3:36 pm
by Phreddie
[QUOTE=Hill-Shatar]
Spoiler
Thanks Buck!
[/QUOTE]
Excellent, though I do believe I know of one member who may abuse this in his subliminal messaging. :D
Spoiler
thats not to say it wont stop the rest of us from using it for its intended purpose, question is how many will see this thread?

Posted: Sat Jan 21, 2006 3:41 pm
by Ravager
This should be useful, thanks Buck. :)
Spoiler
Testing...

Posted: Sat Jan 21, 2006 3:56 pm
by dragon wench
[QUOTE=Phreddie]thats not to say it wont stop the rest of us from using it for its intended purpose, question is how many will see this thread?[/QUOTE]

It might not be a bad idea to begin a thread in SYM?

Though, my connection is fading in and out, so I'll leave that to you :D

Posted: Sat Jan 21, 2006 3:57 pm
by Gunofgod
Spoiler
this constant wrapping might get annoying

Posted: Sat Jan 21, 2006 7:40 pm
by dj_venom
Brilliant Buck, I love the new code. As I wasn't going to remember that colour code :rolleyes: .
Spoiler
All Hail Buck