The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#13
|
|||
|
|||
![]() Quote:
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) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|