aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/lib/ui/minified/effects.drop.min.js
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2009-01-18 23:27:21 +0000
committerrub <rub@piwigo.org>2009-01-18 23:27:21 +0000
commit436679af447c53d3ed654ec16fdde03e2064bd95 (patch)
tree96eefb969b24aa475aeb9310ff1691a09bc5187f /template-common/lib/ui/minified/effects.drop.min.js
parent65c701a5a33df1f47adca51b9086762511ee0e23 (diff)
Update jQuery UI lib with jquery.ui-1.5.3.zip
Change files tree in order to have the same of UI. Add too effects files js git-svn-id: http://piwigo.org/svn/trunk@3102 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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