diff options
Diffstat (limited to 'static/development-bundle/ui/minified/jquery.effects.fold.min.js')
-rw-r--r-- | static/development-bundle/ui/minified/jquery.effects.fold.min.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/static/development-bundle/ui/minified/jquery.effects.fold.min.js b/static/development-bundle/ui/minified/jquery.effects.fold.min.js new file mode 100644 index 0000000..1e02181 --- /dev/null +++ b/static/development-bundle/ui/minified/jquery.effects.fold.min.js @@ -0,0 +1,14 @@ +/* + * jQuery UI Effects Fold 1.8.6 + * + * Copyright 2010, 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/Fold + * + * Depends: + * jquery.effects.core.js + */ +(function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=["position","top","left"],d=c.effects.setMode(b,a.options.mode||"hide"),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:"hidden"}),f=d=="show"!=h,l=f?["width","height"]:["height","width"];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1],10)/100* +f[d=="hide"?0:1];if(d=="show")e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d=="show"?f[0]:g;i[l[1]]=d=="show"?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d=="hide"&&b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&&a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery); |