diff options
Diffstat (limited to 'themes/default/js/ui/minified/jquery.effects.clip.min.js')
-rw-r--r-- | themes/default/js/ui/minified/jquery.effects.clip.min.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/default/js/ui/minified/jquery.effects.clip.min.js b/themes/default/js/ui/minified/jquery.effects.clip.min.js new file mode 100644 index 000000000..7fba976d7 --- /dev/null +++ b/themes/default/js/ui/minified/jquery.effects.clip.min.js @@ -0,0 +1,14 @@ +/* + * jQuery UI Effects Clip 1.8.9 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Clip + * + * Depends: + * jquery.effects.core.js + */ +(function(b){b.effects.clip=function(e){return this.queue(function(){var a=b(this),i=["position","top","bottom","left","right","height","width"],f=b.effects.setMode(a,e.options.mode||"hide"),c=e.options.direction||"vertical";b.effects.save(a,i);a.show();var d=b.effects.createWrapper(a).css({overflow:"hidden"});d=a[0].tagName=="IMG"?d:a;var g={size:c=="vertical"?"height":"width",position:c=="vertical"?"top":"left"};c=c=="vertical"?d.height():d.width();if(f=="show"){d.css(g.size,0);d.css(g.position, +c/2)}var h={};h[g.size]=f=="show"?c:0;h[g.position]=f=="show"?0:c/2;d.animate(h,{queue:false,duration:e.duration,easing:e.options.easing,complete:function(){f=="hide"&&a.hide();b.effects.restore(a,i);b.effects.removeWrapper(a);e.callback&&e.callback.apply(a[0],arguments);a.dequeue()}})})}})(jQuery); |