Quote:
Originally Posted by Alviker
Don't run in my vB 3.5.1!!!  Help please!!!  How Can I add totally this BBCode??? Sorry for my bad english  . Help please. Very thanks.
Atte. Alviker
|
It works great for me, I have the following
TITLE : Hide
TAG : hide
REPLACEMENT :
<div style="margin:5px 20px 20px 20px">
<div class="smallfont" style="margin-bottom:2px"><b>{option}:</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('d iv')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('d iv')[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>
Example : [hide=Spoiler]Simalert.com is the best[/hide]
Description : Allows you to hide text until someone presses the button.
Ideal for large code or spoilers.
USE OPTION : Yes
I added {option} in there so you can specify the title.
To use this you type [hide=TITLE HERE] TEXT HERE [/hide]
It works great on my 3.5.3 board (still getting ready to switch to it from PHPBB)