Post new topic Reply to topic  [ 1 post ] 
Creating Spoiler BBCode in Post Page 
Author Message
Verified user

Joined: Sun Jan 18, 2009 5:11 pm
Posts: 3
---------
Post Creating Spoiler BBCode in Post Page
Making Hide or Show Text in the post

Go to ACP Index / POSTING / BBCODES


BBCode usage

Code:
[spoiler]{TEXT}[/spoiler]


HTML replacement

Code:
<div style="padding: 3px; background-color: #000000; 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>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>hide</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>show</a>'; }" /><b>Spoiler: </b><a href="#" onClick="return false;">show</a></span></div><div class="quotecontent"><div style="display: none;">{TEXT}</div></div></div>


Help line

Code:
Spoiler Open To: [spoiler]Hidden text here[/spoiler]


ok*

Visit my forum http://sharkfox-studio.forums-free.com


Fri Mar 27, 2009 5:23 am
Profile E-mail
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron