Quote:
Originally Posted by Diva
That looks great. I cant quite figure out how you did that. Can you show me?
|
First off, in your style options find the
Additional CSS Definitions block. Then add this at the bottom of it;
HTML Code:
/* ***** custom css ~ oblivion knight ***** */
.spoiler { color: #282828; background: #282828; }
Replace
#282828 both times with your first alternating color background..
Now add this for your custom BB Code;
Title: Spoiler
Tag: spoiler
Replacement:
Code:
<div style="margin:20px; margin-top:5px; "><table width="100%" border="0" align="center" cellpadding="6" cellspacing="0"><tr><td><fieldset><legend>spoiler (highlight to view)</legend><span class="spoiler">{param}</span></fieldset></td></tr></table></div>
Example: [spoiler]Spoiler text[/spoiler]
The css is required because otherwise the spoiler is shown on the topic review on the "New Reply" screen. I couldn't think of a clearner way to do this, but if there are any suggestions - let me know.