aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/js/ui/minified/effects.drop.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/js/ui/minified/effects.drop.min.js')
-rw-r--r--themes/default/js/ui/minified/effects.drop.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/default/js/ui/minified/effects.drop.min.js b/themes/default/js/ui/minified/effects.drop.min.js
new file mode 100644
index 000000000..ba3544ee4
--- /dev/null
+++ b/themes/default/js/ui/minified/effects.drop.min.js
@@ -0,0 +1 @@
+(function($){$.effects.drop=function(o){return this.queue(function(){var el=$(this),props=["position","top","left","opacity"];var mode=$.effects.setMode(el,o.options.mode||"hide");var direction=o.options.direction||"left";$.effects.save(el,props);el.show();$.effects.createWrapper(el);var ref=(direction=="up"||direction=="down")?"top":"left";var motion=(direction=="up"||direction=="left")?"pos":"neg";var distance=o.options.distance||(ref=="top"?el.outerHeight({margin:true})/2:el.outerWidth({margin:true})/2);if(mode=="show"){el.css("opacity",0).css(ref,motion=="pos"?-distance:distance)}var animation={opacity:mode=="show"?1:0};animation[ref]=(mode=="show"?(motion=="pos"?"+=":"-="):(motion=="pos"?"-=":"+="))+distance;el.animate(animation,{queue:false,duration:o.duration,easing:o.options.easing,complete:function(){if(mode=="hide"){el.hide()}$.effects.restore(el,props);$.effects.removeWrapper(el);if(o.callback){o.callback.apply(this,arguments)}el.dequeue()}})})}})(jQuery); \ No newline at end of file