integration/v2/lib/jquery-ui/ui/minified/jquery.ui.effect-slide.min.js
author Anthony Ly <anthonyly.com@gmail.com>
Wed, 26 Jun 2013 18:22:01 +0200
changeset 162 c8f2f2d54bbf
parent 131 f7f6c6acf9b9
permissions -rw-r--r--
page 23
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
131
f7f6c6acf9b9 add jquery ui
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff changeset
     1
/*! jQuery UI - v1.10.3 - 2013-05-03
f7f6c6acf9b9 add jquery ui
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff changeset
     2
* http://jqueryui.com
f7f6c6acf9b9 add jquery ui
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff changeset
     3
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
f7f6c6acf9b9 add jquery ui
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff changeset
     4
(function(t){t.effects.effect.slide=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","width","height"],o=t.effects.setMode(n,e.mode||"show"),r="show"===o,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h,u={};t.effects.save(n,a),n.show(),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,c?isNaN(s)?"-"+s:-s:s),u[l]=(r?c?"+=":"-=":c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&n.hide(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}})}})(jQuery);