aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/lib/ui/minified/effects.shake.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.shake.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.shake.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/template-common/lib/ui/minified/effects.shake.min.js b/template-common/lib/ui/minified/effects.shake.min.js
new file mode 100644
index 000000000..48d320c17
--- /dev/null
+++ b/template-common/lib/ui/minified/effects.shake.min.js
@@ -0,0 +1 @@
+(function(A){A.effects.shake=function(B){return this.queue(function(){var E=A(this),K=["position","top","left"];var J=A.effects.setMode(E,B.options.mode||"effect");var M=B.options.direction||"left";var C=B.options.distance||20;var D=B.options.times||3;var G=B.duration||B.options.duration||140;A.effects.save(E,K);E.show();A.effects.createWrapper(E);var F=(M=="up"||M=="down")?"top":"left";var O=(M=="up"||M=="left")?"pos":"neg";var H={},N={},L={};H[F]=(O=="pos"?"-=":"+=")+C;N[F]=(O=="pos"?"+=":"-=")+C*2;L[F]=(O=="pos"?"-=":"+=")+C*2;E.animate(H,G,B.options.easing);for(var I=1;I<D;I++){E.animate(N,G,B.options.easing).animate(L,G,B.options.easing)}E.animate(N,G,B.options.easing).animate(H,G/2,B.options.easing,function(){A.effects.restore(E,K);A.effects.removeWrapper(E);if(B.callback){B.callback.apply(this,arguments)}});E.queue("fx",function(){E.dequeue()});E.dequeue()})}})(jQuery) \ No newline at end of file