This is mainly for Nex666

When i first started the animephantom forum i made an "expand" bbcode tag, and found it really useful for adding detailed descriptions, or adding images without making the post look super long. (but also good for hiding spoilers). Its also good surprising people with goatse.cx images... i mean.
After a while i got frustrated because people were making super long project announcement pages that could be made much neater with this tag.
anyway here is my crappy little contribution to the forum.
Example:
[Expand=Expand to show links]here are the links...
http://wat?.com[/spoiler]
Attachment:
fsnvn.jpg
BBcode usage:
Code:
[Expand={SIMPLETEXT}]{TEXT}[/Expand]
HTML Replacement
Code:
<div style="margin:20px; margin-top:5px"><div class="quotetitle"><b>{SIMPLETEXT}:</b> <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" 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.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }" /></div><div class="quotecontent"><div style="display: none;">{TEXT}</div></div></div>
Help line text:
Code:
Hide a section of text and give it a title.
Display on posting page: Tick!