How do I create a spoiler tag?
Collapse
X
-
Not sure who created it but here's the code...
Title: Spoiler
Tag: Spoiler
Replacement:
HTML Code:<div style="margin:20px; margin-top:5px"> <form> <div class="smallfont" style="margin-bottom:2px"><b>Spoiler:</b> <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onClick="javascript: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.innerText = ''; this.value = 'Show'; }"> </div> <div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"> <div style="display: none;"> {param} </div> </div> </form> </div>
[spoiler]this should be hidden[/spoiler]
Use Option: noPlan, Do, Check, Act! -
-
Comment
Related Topics
Collapse
-
by RUBEHello Everybody,
When I login as admin & I turn on edit site. Then when I click on any of the edit links, like styles, channels, pages, new page, header, footer & etc. I get this...-
Channel: Support Issues & Questions
-
-
by stevie1972I have added the like and share buttons to my forum. They are all working fine but the spacing isn't right. How do I adjust the spacing between the buttons so its all the same.
This is the...-
Channel: vB Cloud Support & Troubleshooting.
-
-
by mactepI am using vBulletin 5.0.0. When I am creating a group in my forum I can't see the Add Icon button. I tried several Browsers (IE9, Opera 12.14, FF 18.0.2, Chrome 25) and the button still isn't there....
-
Channel: Support Issues & Questions
-
Comment