MyBB Community Forums

Full Version: Yet another spoiler tag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I have a simple spoiler tag implemented using 'MyCode'

Regular expression
<div style="font-weight: bold; color: grey; background-color: grey;">$1</div>

This generally works well, except that I cannot hide images/color characters.

So I am requesting a click-to-view spoiler tag (maybe used with [spoiler2] tag)

all spoiler section is initially hidden, user has to click on [Show] button to show it:
[Image: spshow.png]
then the button changes to [Hide], click it again to hide the spoiler:
[Image: sphide.png]


A complete spoiler tag with mouseover.