The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[spoiler] tag with custom name in tag.
Currently, I'm using this code:
Code:
<div> <div class="pre-spoiler"> <input type="button" value="Show Text" style="width:80px;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.value = 'Show Text';}"> </div> <div> <div class="spoiler" style="display: none;">{param}</div> </div> </div> [spoiler="customtexthere"]textherethatshouldbehidden[/spoiler] So the button will have a custom name rather than 1 name that it will stick with? |
#2
|
||||
|
||||
use bbcode in ACP
|
#3
|
|||
|
|||
That doesn't help me much, as I have no idea what code to use.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|