PDA

View Full Version : Show Thread Enhancements - Animated Spoiler


Vitaly
03-20-2011, 10:00 PM
Features:

This mod add nice-looking collapsable spoiler with animation

How to install:

1. Install BB code. To do this go to Custom BB codes -> Add new BB code and add following values:
- in Title- Spoiler
- in BB Code Tag Name - spoiler
- in Replacement -
<div style="margin:2em 0em 2em 1.3em;">* <a style="text-decoration: none; border-width:1px; border-style:none none dashed;" name="spoiler" onclick="if(typeof Spoiler !== 'undefined'){Spoiler.toggle_display(event);}else{o bj=this.parentNode.childNodes[2].style; tmp=(obj.height!='0px') ? '0px' : 'auto'; obj.height=tmp;} return false;" href="#">{option}</a><div class="subblock" style="overflow:hidden;height:0px;margin-left:1.7em;margin-top:0.8em;"><div>{param}</div></div></div>
- in Example - Enter the text we want to hide
- in Description - Tag to hide spoiler
- Use {option} - Yes
- Button Image (Optional) - leave empty
- 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
2. And then Click Save
3. You could use tag as is, but the animation part is added with product installation. To install product follow the standard process.

Notes:

This mod is developped here https://github.com/rcdesign/vb-spoiler_animation. Patches are welcome.

Dr.osamA
03-21-2011, 12:48 PM
thank you bro

good mod

installed and rated

Kat-2
03-23-2011, 03:20 AM
Ditto. Thanks!

obmob
05-25-2011, 11:42 PM
Will try it, thanks :D

DarkCoffee
11-29-2011, 09:25 AM
What is the standard process to istall the product?
Where can I find it?
Thank you! :)

SwollenCranium
11-29-2011, 10:05 PM
Works as described.

4.1.8 and Firefox.

Thanks !

faisaly.com
01-16-2012, 07:29 PM
not working on vb4.1.3 for me...

babyv0x
03-20-2012, 04:38 PM
work fine for me . 4.1.11 on firefox, chrome, IE .

Installed