The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
||||
|
||||
![]()
Hi Lynne, thanks.
The version i use on my forum is this HTML Code:
<div style="margin: 0px;"> <div class="smallfont" style="margin-bottom: 2px;"> <strong>Spoiler!</strong> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button" /> </div> <div class="alt2" style="border: 0px inset; padding: 0px;"> <div class="spoiler" style="display: none;">{param}</div> </div> </div> It is not working. I tried the code you send me but it doesn't open i.e., txt or image would show once i click on the blurry stuff. They're using Ruby on Rails, not sure how that language works with css. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|