Back to vBulletin 4.x Add-ons

Classic button 'Spoiler' BB Code (NO INSTALL REQUIRED)
Mod Version: 1.00, by Fatal Hazard

vB Version: 4.x.x Rating: (10 votes - 5.00 average) Installs: 73
Released: 31 Oct 2012 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

This is a classic button spoiler BB Code.

Title: Spoiler

BB Code Tag Name: Spoiler

Replacement:
Code:
<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;"><b>Spoiler:</b>&nbsp;  <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 != '') { 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'; }" type="button" /> </div> <div class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px;"> <div style="display: none;"> {param} </div> </div> </div>
Example: [Spoiler]Some Text[/Spoiler]


Description: Allows you to hide text or images.

Image Path: Choose an image and upload it to your server.

Use {option}: No

Remove Tag If Empty: Yes

Disable BB Code Within This BB Code: No

Disable Smilies Within This BB Code: No

Disable Word Wrapping Within This BB Code: No

Disable Automatic Link Parsing Within This BB Code: No

Preview:

Download

No files for download.

Similar Mods

BB Code Enhancements Button spoiler vBulletin 3.7 Add-ons
BB Code Enhancements Spoiler BB Code with Show/Hide Button Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024