Gamers Talk Forums - Archive / Map
Pages:1



t.com's spoiler BB code?

(Click here to view the original thread with full colors/images)



Posted by: Kosh

what is it? I'd like to add it to my forums (running vBB 3.0.6) thanks!



Posted by: Khiori

Hope this works:

code:
<table border="0" cellpadding="0" cellspacing="0" width="85%"> <tr> <td bgcolor="skyblue"> <smallfont color="white">Spoiler:</smallfont> <br> <font color="skyblue">{param}</font> </td> </tr> </table>


Use the color of your choice.

Or you can use this code which you decide at the spoiler tag what colors to use:

code:
<table><tr bgcolor="{option}"><td><font color="{option}" size="2">{param}</font></td></tr></table>


using [ spoiler=red] stuff [ /spoiler]


- edit Nuts. Just quote my post for the code. Or I can email it

-another edit - will add another spoiler tag in a min when I've figured what I've done wrong lol

-ok figured it out.



Posted by: Khiori

btw, this is the code I used on my forums which is still using 2.x

The second one is here using the tags of hide

Hi Kosh




Posted by: Kosh

That worked beautifully (the first code) thanks. I'm tweaking it now, because there seems ot be an extra blank line in there when I try it out on the test server...

but that was exactly what I wanted! thanks, K!



Posted by: Kosh

solved.



Posted by: Khiori

Glad it did the job for you! I'm noticing that it works different in different places. For instance:
wtf?
The first one is using the css and I couldn't get it to work with the smaller font. But I'm betting if I looked at it in IE it'd still look funky, just in another way





vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2009 - Created by Stefan "Xenon" Kaeser Modified by Adam J. de Jaray