You must first add the text you want to show then close it with a ] then add the hiding text.
BBCode Usage:
Code: Select all
[hiddenspoiler={TEXT1}]{TEXT2}[/hiddenspoiler]
Code: Select all
<span onclick="if (this.innerHTML != '{TEXT1}') { this.innerHTML = '{TEXT1}' } else { this.innerHTML = '{TEXT2}'}">{TEXT1}</span>
Code: Select all
A Simple Spoiler for Text in posts.
Code: Select all
[hiddenspoiler=Add your text to make people click]Add here the text you want to hide[/hiddenspoiler]
Add your text to make people click