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