winstone
01-15-2010, 10:00 PM
===============
This mod will not be updated anymore
please see https://vborg.vbsupport.ru/showthread.php?t=233425
===============
By using this mod you can apply fade in (opacity) effects on your regular popup menus anywhere in VB powered pages, even in custom mods
see demo: http://tinypic.com/r/10zbrjc/6
How to install:
- upload the attached javascript file called "popup_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:
<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/popup_anime.js?v={vb:raw vboptions.simpleversion}"></script>
For browser compatibility please refer to YUI supported browsers chart http://developer.yahoo.com/yui/articles/gbs/index.html
*YUI Animation utility has A-Grade support
YOU ARE FREE TO RE USE THIS CODE, TRANSLATE OR PUBLISH IT ON OTHER WEBSITES
UPDATE LOG:
=============
v1.1 changes
fixes flickering issue on some browsers
This mod will not be updated anymore
please see https://vborg.vbsupport.ru/showthread.php?t=233425
===============
By using this mod you can apply fade in (opacity) effects on your regular popup menus anywhere in VB powered pages, even in custom mods
see demo: http://tinypic.com/r/10zbrjc/6
How to install:
- upload the attached javascript file called "popup_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:
<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/popup_anime.js?v={vb:raw vboptions.simpleversion}"></script>
For browser compatibility please refer to YUI supported browsers chart http://developer.yahoo.com/yui/articles/gbs/index.html
*YUI Animation utility has A-Grade support
YOU ARE FREE TO RE USE THIS CODE, TRANSLATE OR PUBLISH IT ON OTHER WEBSITES
UPDATE LOG:
=============
v1.1 changes
fixes flickering issue on some browsers