Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drop Box
#4
The color/spoiler situation is easy enough to solve. Just pick two colors that are fairly close together, but far enough apart to give a reasonable contrast on alternating table cells. Then pick the color that is exactly halfway between the two, and it's near-impossible to detect. I've attached an example below. The spoiler text is right below the regular text. Can you see it? Smile

The colors used in the example are:
Backgrounds: rgb(233,232,224) and rgb(224,223,215)
Spoiler Text: rgb(228,227,219)
Regular text: rgb(65,77,86)

Other ways to do it would require adding a
spoiler
tag to the software. This tag could either just set the background color on the paragraph to be the same as the text color, or get fancy and provide a button that expands to the spoiler text when clicked.

None of them are particularly hard to implement (the last two are more difficult, but not by much. Depending, of course, on how well-written the board is in the first place).

If I knew perl, I'd go diving into the code myself...unfortunately, both ruby and python are higher up on my list of scripting languages to learn. Tongue


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Drop Box - by joeb - 04-18-2007, 01:30 PM
Re: Drop Box - by Freddy - 04-18-2007, 05:39 PM
Re: Drop Box - by aquaMat - 04-18-2007, 06:15 PM
Re: Drop Box - by ryos - 04-20-2007, 08:17 PM
Re: Drop Box - by aquaMat - 04-21-2007, 11:32 AM
Re: Drop Box - by Freddy - 04-21-2007, 05:56 PM
Re: Drop Box - by ryos - 04-21-2007, 06:46 PM
Re: Drop Box - by Freddy - 04-21-2007, 06:55 PM
Re: Drop Box - by ryos - 04-21-2007, 06:59 PM
Re: Drop Box - by Freddy - 04-21-2007, 07:05 PM
Re: Drop Box - by joeb - 04-22-2007, 03:46 AM
Re: Drop Box - by joeb - 05-14-2007, 12:26 AM
Re: Drop Box - by joeb - 05-14-2007, 12:30 AM
Re: Drop Box - by Freddy - 05-18-2007, 03:23 PM
Re: Drop Box - by joeb - 05-18-2007, 08:42 PM
Re: Drop Box - by Freddy - 06-17-2007, 07:58 AM
Re: Drop Box - by joeb - 06-19-2007, 01:26 PM
Re: Drop Box - by Freddy - 06-19-2007, 06:28 PM
Re: Drop Box - by aquaMat - 06-26-2007, 08:57 PM
Re: Drop Box - by Freddy - 06-26-2007, 10:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)