The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with BBCODE Spoiler
Hello.
I would like to create this effect. When someone clicks on the white part of the text is displayed in black. Sorry for my english. |
#2
|
||||
|
||||
Do a search for spoiler, there is a bunch of spoiler mods available.
|
#3
|
|||
|
|||
I assure you that I have seen almost every mod there but in particular I wish it were so.
If you can not ... thanks anyway. |
#4
|
||||
|
||||
Try this in the "Replacement" field of your custom BBCode:
HTML Code:
<div style="padding-left: 10px"> <b>Spoiler: </b><span style="color: #A0A0A0">[ pulsa para ver ]</span> <div style="border-radius: 6px 0px 0px 6px; border: 1px inset black; margin-right: 40%; margin-top: 5px" > <div style="cursor: pointer" title="Click to Reveal Contents" onclick="if (this.firstElementChild.style.visibility == 'hidden'){this.firstElementChild.style.visibility = 'visible'; this.title='Click to Hide Contents'} else {this.firstElementChild.style.visibility = 'hidden'; this.title='Click to Reveal Contents'}"> <div style="visibility: hidden; padding: 5px"> {param} </div> </div> </div> </div> |
Благодарность от: | ||
ozzy47 |
#5
|
|||
|
|||
Quote:
Spoiler Forocoches... Yes! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|