The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
Just enclose your block of code within a span or division and then toggle the display from NONE to BLOCK whenever you want to hide or display your code:
Here the span is hidden via the style attribute of "display:none" Code:
<span id="myspan" style="display:none;"> Code:
<span id="myspan" style="display:block;"> Code:
function LoadElement(eid) { var element = document.getElementById(eid); element.style.display = 'block'; } Code:
function HideElement(eid) { var element = document.getElementById(eid); element.style.display = 'none'; } Then to display the span: Code:
LoadElement('myspan'); and to hide the span: Code:
HideElement('myspan'); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|