what do you mean, like this
the "STANDARD" spoiler bb_code thats been on allover these forums ?
Title : spoiler
Tag name : spoiler
Replacement :
Code:
<div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px"><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="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"> <div style="display: none;">{param}</div> </div> </div>
Exxample : [spoiler]Hides this text with a botton[/spoiler]
user option : no
remove if empty : yes
disable xxxx : no, no and no..
this will only make a botton without a title..