The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Not sure if this should be here, if not the mods should feel free to move it wherever it should be
![]() What this does: its a BB code that will make all text between the [spoiler][/spoiler] hidden until you hover your mouse over it. Step #1: Go to Styles & Templates >> your style >> All Style Options, click Go, scroll down until Additional CSS Definitions, and there add: Code:
.spoiler
{
color: #000000;
text-decoration: none;
background-color: #000000;
}
Now go to Custom BB Codes and select Add New BB Code. There, add the following information: Code:
Title: Spoiler
Tag: spoiler
Replacement: <span class="spoiler" onmouseover="this.style.color='#FFFFFF';" onmouseout="this.style.color=this.style.backgroundColor='#000000'">{param}</span>
Example: [spoiler]Stuff goes here[/spoiler]
Description: The spoiler tag will hide the text between the tags, and will appear only when you put your mouse over the hidden text.
Use {option}: set to No
Demo: Check out this thread Additional info: this codes is valid XHTML 1.0 Transitional. Enjoy
|
|
#2
|
||||
|
||||
|
Thanks for moving it, and sorry about it :P
|
|
#3
|
||||
|
||||
|
Thanks, I have been looking for something just like this
![]() works like a charm, nice and simple
|
|
#4
|
|||
|
|||
|
Can this hide images too?
|
|
#5
|
|||
|
|||
|
Is There A Way To Make It 'on click' Rather Then 'on mouse-over' ?
|
|
#6
|
|||
|
|||
|
Anyone? I Could Probably Figure It Out If I Knew HTML... But I Dont
|
|
#7
|
|||
|
|||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|