Simple Hidden Spoiler Text BBCode

A selection of BBCodes for use on your phpBB3 Forums.
User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm
Your Forum/Website URL: http://
Location: UK
Contact:

Simple Hidden Spoiler Text BBCode

Postby LDM » Sun Jan 25, 2009 6:53 pm

This is a very much simple spoiler than to the other posted within our BBCode forum. This will hide text until you click the text to show the spoiler.
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]


HTML Replace:

Code: Select all

<span onclick="if (this.innerHTML != '{TEXT1}') { this.innerHTML = '{TEXT1}' } else { this.innerHTML = '{TEXT2}'}">{TEXT1}</span>


Helpline:

Code: Select all

A Simple Spoiler for Text in posts.


Example Embed:

Code: Select all

[hiddenspoiler=Add your text to make people click]Add here the text you want to hide[/hiddenspoiler]


Example as above:

Add your text to make people click
Image

Image

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider to support the site.


Return to “PhpBB3 BBCodes”



Who is online

Users browsing this forum: No registered users and 15 guests