Author: Sjoerd
Description: The Spoiler 3 BBCode is a spoiler with + and - to open the spoiler, also, you can customize the title.
Note! This is a prosilver only bbcode!
BBCode:
Code: Select all
[spoiler={TEXT2}]{TEXT1}[/spoiler]
Code: Select all
<dl class="codebox"><dt>{TEXT2} | <a href="javascript: void(0);" onclick="var spoiler = this.parentNode.parentNode.getElementsByTagName('dd')[0]; if ( spoiler.style.display == 'none' ) { spoiler.style.display = 'block'; this.innerHTML = '-'; } else { spoiler.style.display = 'none'; this.innerHTML = '+'; };">+</a></dt><dd style="display: none;">{TEXT1}</dd></dl>
Code: Select all
[Spoiler={Title}]{Text}[/Spoiler]
Code: Select all
[spoiler=Title]This is a spoiler.[/spoiler3]
[spoiler=Title]This is a spoiler...[/spoiler]