Page 1 of 1

Spoiler Tags

Posted: Tue Nov 30, 2010 4:44 pm
by Corrupt Shadow
Spoiler: show
Doesn't seem to work.
Are these tags supposed to DO anything in the forum? If so, the bbCode is messed up.

Re: Spoiler Tags

Posted: Tue Nov 30, 2010 5:53 pm
by Ryme
don't think they were ever implemented. Or they were and I lost them in an upgrade. I'm not sure.

Re: Spoiler Tags

Posted: Tue Nov 30, 2010 7:10 pm
by Corrupt Shadow
Ah, okay.

Code: Select all

<div style="margin: 5px;"> 
<div class="smallfont" style="margin-bottom: 2px;"> 
<b>Spoiler!</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline') 
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; } 
else 
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div> 
<div class="alt2" style="border: 1px inset; padding: 6px;"> 
<div class="spoiler" style="display: none;">{param}</div> 
</div> 
</div>