aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/lib/ui/minified/effects.clip.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.clip.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 'template-common/lib/ui/minified/effects.clip.min.js')
-rw-r--r--template-common/lib/ui/minified/effects.clip.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/template-common/lib/ui/minified/effects.clip.min.js b/template-common/lib/ui/minified/effects.clip.min.js
new file mode 100644
index 000000000..e5aced327
--- /dev/null
+++ b/template-common/lib/ui/minified/effects.clip.min.js
@@ -0,0 +1 @@
+(function(A){A.effects.clip=function(B){return this.queue(function(){var F=A(this),J=["position","top","left","height","width"];var I=A.effects.setMode(F,B.options.mode||"hide");var K=B.options.direction||"vertical";A.effects.save(F,J);F.show();var C=A.effects.createWrapper(F).css({overflow:"hidden"});var E=F[0].tagName=="IMG"?C:F;var G={size:(K=="vertical")?"height":"width",position:(K=="vertical")?"top":"left"};var D=(K=="vertical")?E.height():E.width();if(I=="show"){E.css(G.size,0);E.css(G.position,D/2)}var H={};H[G.size]=I=="show"?D:0;H[G.position]=I=="show"?0:D/2;E.animate(H,{queue:false,duration:B.duration,easing:B.options.easing,complete:function(){if(I=="hide"){F.hide()}A.effects.restore(F,J);A.effects.removeWrapper(F);if(B.callback){B.callback.apply(F[0],arguments)}F.dequeue()}})})}})(jQuery) \ No newline at end of file