Back to vBulletin 3.5 Template Modifications

Spoiler Tag
Mod Version: 1.0.0, by King Kovifor

This modification is in the archives.
vB Version: 3.5.8 Rating: (1 vote - 4.00 average) Installs: 24
Released: 22 Apr 2006 Last Update: Never Downloads: 6
Not Supported  

Title: Spoiler
Tag: spoiler
Replacement:
HTML Code:
 <div class="fieldset">
<table class="tborder" cellpadding="5" cellspacing="0" border="0" width="100%" align="center">
<tr>
   <td class="tcat" colspan="3"><a style="float:right" href="#top" onclick="return toggle_collapse('spoiler_{option}')"><input type="button" value="Show/Hide" /></a>Spoilers!</td>
</tr>
<tbody id="collapseobj_spoiler_{option}" style="">
<td class="alt1" align="$stylevar[left]" valign="top">{param}</td>
</tbody>
</table>
</div>
Example: [spoiler=example]This is Hidden![/spoiler]
Use Option: Yes
Image: Leave Blank

Q. Why do I have to "use option"?
A. This will solve a bug when not using it. In the first coding it wasn't used, but it would only collapse the first usage of "[spoiler][/spoiler]" in the thread. Using option in the code allowed to to specify which usage of the tags to collapse.

Bugs: It's open by default! I'm working on getting it closed by default.

Download

No files for download.

Screenshots

   

Similar Mods

Spoiler Tag vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024