WordPress/wp-includes/js/jquery/ui/jquery.ui.effect-slide.min.js
Daryl Koopersmith 43587773a5 jQuery UI 1.9.2. props ocean90. fixes #22563.
git-svn-id: http://core.svn.wordpress.org/trunk@22833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-26 01:20:40 +00:00

5 lines
813 B
JavaScript

/*! jQuery UI - v1.9.2 - 2012-11-23
* http://jqueryui.com
* Includes: jquery.ui.effect-slide.js
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
(function(e,t){e.effects.effect.slide=function(t,n){var r=e(this),i=["position","top","bottom","left","right","width","height"],s=e.effects.setMode(r,t.mode||"show"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left",l,c={};e.effects.save(r,i),r.show(),l=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(r).css({overflow:"hidden"}),o&&r.css(a,f?isNaN(l)?"-"+l:-l:l),c[a]=(o?f?"+=":"-=":f?"-=":"+=")+l,r.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery);