Why not use a spoiler Bb Code?
Of course, if you have more than one style with different background colours that won't work.
No it will, your solution is the good one. Jabroni just needs a basic spoiler bbcode wrapped inside a span tag to avoid line breaks and use the xen property @contentBackground both on the background & on the text color on the normal state, then on the hover state, use the @contentText property on the text.
I had a similar BB Code in the past but I also used characters so members were aware there was hidden text - like so: > hidden text <
<xen:require css="bbcode_mini_spoiler.css" />
<span class="bb_mini_spoiler">{xen:raw $content}</span>
.bb_mini_spoiler{
padding:1px;
border:1px dotted @contentText;
background-color: @contentBackground;
color: @contentBackground;
cursor: pointer;
}
.bb_mini_spoiler:hover{
color:@contentText;
}
Can you show me a capture of your tag configuration and please continue this topic here where I'm allowed to edit & update my posts freely.Followed this to the letter.
Text still shows up as The killer is [minispoiler]Jason[/minispoiler]
We use essential cookies to make this site work, and optional cookies to enhance your experience.