Spoiler BBCode

A selection of BBCodes for use on your phpBB3 Forums.
Forum Member
Forum Member
Posts: 1
Joined: Sun Apr 22, 2012 1:11 pm
Your Forum/Website URL: http://node6.webege.com/index.php

Re: Spoiler BBCode

Postby ficolas » Sun Apr 22, 2012 1:15 pm

I have a better spoiler, becouse it allows you to put a custom text on "Spoiler"

Code: Select all


HTML Code:

Code: Select all

<div style="padding: 3px; background-color: #FFFFFF; border: 1px solid #d8d8d8; font-size: 1em;"><div style="text-transform: uppercase; border-bottom: 1px solid #CCCCCC; margin-bottom: 3px; font-size: 0.8em; font-weight: bold; display: block;"><span onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerHTML = '<b>{SIMPLETEXT}: </b><a href=\'#\' onClick=\'return false;\'>hide</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>{SIMPLETEXT}: </b><a href=\'#\' onClick=\'return false;\'>show</a>'; }" /><b>{SIMPLETEXT}: </b><a href="#" onClick="return false;">show</a></span></div><div class="quotecontent"><div style="display: none;">{TEXT}</div></div></div>

NOTE: I just edited the code, not by me.

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.

User avatar
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am
Your Forum/Website URL: http://phpbbmexico.com

Re: Spoiler BBCode

Postby cisco007 » Sun Apr 22, 2012 9:07 pm

thanks seems like one i have on my other support forum!

Return to “PhpBB3 BBCodes”

Who is online

Users browsing this forum: No registered users and 5 guests