Better spoiler code
The current spoiler bbcode being used is really sub-par. Something like this would be much better...
<div style="margin:0px; margin-top:0px"><div class="smallfont" style="margin-bottom:2px"><b>Spoiler:</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="alt2" style="margin: 0px; padding: 0px; border: 0px inset;"><div style="display: none;">
<!---hidden content--->
<!---this is where you'd put that one word in brackets that I can't remember what it is for phpBB3 which lets the forum know this is where input content goes--->
<!---end hidden content--->
</div></div></div></td>
This has been updated.
-
Anonymous commented
I agree with this. Not sure if the code above is better but with the secret world coming out our guild is gonna need the spoiler codes and as it is it does not suppoert special characters making it hard for us to write spoilers in our native tongues.