Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Collapse Animation Details »
Collapse Animation
Mod Version: 1.3, by winstone (Member) winstone is offline
Developer Last Online: Apr 2013 I like it Show Printable Version Email this Page

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

===============
This mod will not be updated anymore
please see http://www.vbulletin.org/forum/showthread.php?t=233425
===============


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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 15 Jan 2010, 20:07
beduino's Avatar
beduino beduino is offline
 
Join Date: Dec 2005
Real name: Joao
Hi

thanks for the article

A question: you test with principal browsers?
Ie 7 and 8, Firefox, Chrome and Safari?
Reply With Quote
  #3  
Old 16 Jan 2010, 00:11
winstone winstone is offline
 
Join Date: Dec 2006
Please refer to YUI supported browsers chart http://developer.yahoo.com/yui/articles/gbs/index.html

*YUI Animation utility has A-Grade support
Reply With Quote
  #4  
Old 16 Jan 2010, 12:11
beduino's Avatar
beduino beduino is offline
 
Join Date: Dec 2005
Real name: Joao
Thank you
All the best
Reply With Quote
  #5  
Old 16 Jan 2010, 12:16
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
Does it need much ressources?
Reply With Quote
  #6  
Old 16 Jan 2010, 12:23
winstone winstone is offline
 
Join Date: Dec 2006
Originally Posted by Kolbi View Post
Does it need much ressources?
javascript is only client side so it will only effect the viewer not the server, btw except the core YUI animation utility, the attached js file just overrides some default functions in vbulletin-core.js file, includes 2-3 lines of extra code
Reply With Quote
  #7  
Old 16 Jan 2010, 22:00
durdan1 durdan1 is offline
 
Join Date: Aug 2009
Can you expalain what you did to make it look like the demo? Is that a sidebar that goes in the forums? If so I love the way it looks ,but have no idea how to make it like that.
Reply With Quote
  #8  
Old 17 Jan 2010, 00:26
winstone winstone is offline
 
Join Date: Dec 2006
it's the default sidebar in blogs, viewing it in IE, I didn't do anything extra
Reply With Quote
  #9  
Old 17 Jan 2010, 08:06
Mythotical Mythotical is offline
 
Join Date: Jun 2004
Anyway to make this collapse the whole side bar instead of using on individual boxes in the sidebar?
Reply With Quote
  #10  
Old 18 Jan 2010, 01:48
winstone winstone is offline
 
Join Date: Dec 2006
that requires a separate JS function or probably some template modifications, it's not something this mod been designed for
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:10.

Layout Options | Width: Wide Color: