Spoiler Code

Additional BBCode that I have found useful
Administrator
Site Admin
Posts: 253
Joined: Tue Nov 18, 2014 11:30 am

Spoiler Code

Post by Administrator » Mon Dec 22, 2014 12:06 pm

[SHOW]
Hides text and Pictures
BBCode Usage

Code: Select all

[Spoiler]{TEXT}[/Spoiler]
HTML Replacement

Code: Select all

<dl class="codebox"><dt><a href="javascript:void(0);" onclick="var el = this.parentNode.parentNode.getElementsByTagName('dd')[0]; var v = el.style.display != 'none'; el.style.display = v ? 'none' : 'block'; this.innerHTML = (v ? '[SHOW]' : '[HIDE]'); ">[SHOW]</a></dt><dd style="display: none;">{TEXT}</dd></dl>
Help Line

Code: Select all

Hide Text