PDA

View Full Version : BB Code Enhancements - Simple Blackbox Spoiler


wpeloquin
20 Jun 2008, 22:48
I've seen other Spoiler BBCode tags, none of which impressed me (in the 3.7 section anyways, i did not look in the old vB sections)

So here is a very simple one. it makes the text and text background into a solid black bar with a yellow border. in order to read the text, one would highlight the text in the box.


Title: Spoiler
BB Code Tag Name: spoiler
Replacement:

<span style="color:#000000;background:#000000;border:1px solid #FFFF00">{param}</span>


i added a spoiler.gif file too: it matches my board, so feel free to make your own.

cafenetland
21 Jun 2008, 17:01
thx

easy and usefull

installed

Trip
24 Jun 2008, 02:11
Thanks
*installed

plantleaf
25 Aug 2008, 01:10
I like this hack very much. Will be very useful. Thanks!