The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Spoiler BBCode
Hi,
I have recently migrated from vB4 to vB5 and one of my members let me know that it isn't possible anymore to preview a post and see the hidden content in our Spoiler BBCode. This is the replacement I'm using (which looks like this): Code:
<div style="padding: 3px; font-size: 1em;"><div style="text-transform: uppercase; margin-bottom: 3px; font-size: 0.8em; font-weight: bold;"><span 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.innerHTML = '<b>{option}: </b><a href=\'#\' onClick=\'return false;\'>Verberg</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>{option}: </b><a href=\'#\' onClick=\'return false;\'>Toon</a>'; }" /><b>{option}: </b><a href="#" onClick="return false;">Toon</a></span></div><div class="quotecontent"><div style="display: none;">{param}</div></div></div> Thanks, Rob |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|