Back to vBulletin 4.x Add-ons

Collapse Animation
Mod Version: 1.3, by winstone

vB Version: 4.0.1 Rating: (0 vote - 0 average) Installs: 10
Released: 15 Jan 2010 Last Update: 18 Jan 2010 Downloads: 65
Not Supported Template Edits Additional Files Re-usable Code Translations  

===============
This mod will not be updated anymore
please see [YUI] Animation Effects
===============

By using this mod you can add slide in and opacity effects to your regular collapse buttons anywhere in VB powered pages, even in custom mods

see demo: http://tinypic.com/player.php?v=29pxafp&s=6
(ignore the mouse pointer, it's because of my screen capture software)

How to install:
- upload the attached javascript file called "collapse_anime.js" to "clientscript" directory
- add JS include codes to the "headinclude" area of template of the pages you want this hack to function
note: if you want to make it global, add to the main "headinclude" template, tho if you do this, on forumdisplay page you will have two calls for YUI Animation

JS Include codes:
Code:
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/yui/animation/animation-min.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/collapse_anime.js?v={vb:raw vboptions.simpleversion}"></script>
Troubleshooting Note
This file extends/overrides some functions of vbulletin-core.js file so make sure that JS Include codes are inserted after vbulleting-core.js file, otherwise things will break

Update Log
==============
Version 1.1
- Runs faster (smoother)
- Forum Categories are excluded now, effect applies to everything else including Forum Sidebar Blocks, CMS Blocks, Blog Blocks etc..

Version 1.2
- Runs much more smoother

Version 1.3
- Bug fixes, code cleanup

Download

File Type: %1$s collapse_anime1.3.zip (962 Bytes, 55 downloads)


vblts.ru supports vBulletin®, 2022-2024