diff options
Diffstat (limited to 'themes/default/js/ui/minified/jquery.effects.drop.min.js')
-rw-r--r-- | themes/default/js/ui/minified/jquery.effects.drop.min.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/default/js/ui/minified/jquery.effects.drop.min.js b/themes/default/js/ui/minified/jquery.effects.drop.min.js new file mode 100644 index 000000000..8c5b320be --- /dev/null +++ b/themes/default/js/ui/minified/jquery.effects.drop.min.js @@ -0,0 +1,14 @@ +/* + * jQuery UI Effects Drop 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/Drop + * + * Depends: + * jquery.effects.core.js + */ +(function(c){c.effects.drop=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right","opacity"],e=c.effects.setMode(a,d.options.mode||"hide"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a);var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var g=d.options.distance||(f=="top"?a.outerHeight({margin:true})/2:a.outerWidth({margin:true})/2);if(e=="show")a.css("opacity",0).css(f,b=="pos"?-g:g);var i={opacity:e== +"show"?1:0};i[f]=(e=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); |