Spoilers

Get help developing custom BBCodes or request one.
Post Reply
Sethanon Dramen
Registered User
Posts: 3
Joined: Thu Sep 12, 2013 12:32 am

Spoilers

Post by Sethanon Dramen »

Anyone know a good spoiler code which will allow me to spoiler something like this: [spoiler=text]text[/spoiler]?
User avatar
Lumpy Burgertushie
Registered User
Posts: 68007
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Spoilers

Post by Lumpy Burgertushie »

Sethanon Dramen wrote:Anyone know a good spoiler code which will allow me to spoiler something like this: [spoiler=text]text[/spoiler]?
I do believe if you do a little reading here in the bbcode section you will find the spoiler bbcodes listed.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: Spoilers

Post by Jessica »

This is what I use

BBCode

Code: Select all

[spoilvtitle={INTTEXT}]{TEXT}[/spoilvtitle]
HTML

Code: Select all

<div style="padding:3px;">
<input type="button" class="button2" style="min-width:20px;" value="{INTTEXT}" onclick="var container=this.parentNode.getElementsByTagName('div')[0];if(container.style.display!='')  {container.style.display='';this.value='{INTTEXT}';} else {container.style.display='none';this.value='{INTTEXT}';}" />
<div style="display:none;word-wrap:break-word;overflow:hidden;">{TEXT}</div>
</div>
Preview
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
Sethanon Dramen
Registered User
Posts: 3
Joined: Thu Sep 12, 2013 12:32 am

Re: Spoilers

Post by Sethanon Dramen »

Thanks!
Post Reply

Return to “Custom BBCode Development and Requests”