PDA

View Full Version : Spoiler Tag


Cyn
05-07-2004, 02:24 PM
I'd love to have this for vB 3. Our members really miss it. :)

Reeve of shinra
05-07-2004, 06:22 PM
Look on vb.com - there is a really good spoilers tag there.

Cyn
05-07-2004, 06:41 PM
I haven't been able to get anything to work since our upgrade to vB3.0.1
We had a spoiler tag in 2.2.9 and it carried over in the upgrade but it wasn't functioning. I tried three different ones that I found at vBulletin.com and no luck. :(

Spinball
05-08-2004, 08:55 AM
I don't understand why you need a hack for a spoiler tag. Just create a new tag and set the text colour to be the same as the forum background colour. And don't allow your users to change the forum colours.

John Crichton
06-27-2004, 12:38 PM
what if you have lots of templates with different colours??

is there anyway to get it to block over the test in say black?

Crinos
06-27-2004, 07:32 PM
This is the code I'm using in our forums as our [spoiler] BB tag ... works with 3.0.1 ...

<blockquote><br>
<font color=#FF0000><b>SPOILER:</b></font> <font size=1>(highlight to read)</font>
<hr><font color=#000000 style=background-color:#000000;> {param}</font>
<hr></blockquote>

gwon
08-23-2004, 05:03 PM
I've been trying to find a decent BB code for a spoiler for a while, and I've finally got one running and thought I'd share the code.

<SPAN CLASS="spoiler" onmouseover="this.style.color='#FFFFFF';" onmouseout="this.style.color=this.style.backgroundColor='#0000 00'">&nbsp;{param}&nbsp;</span>

And the class for your CSS variables

.spoiler {COLOR: black; TEXT-DECORATION: none; background-color: black; font-weight: normal;}