5 lines
777 B
JavaScript
5 lines
777 B
JavaScript
/*! jQuery UI - v1.8.20 - 2012-04-30
|
|
* https://github.com/jquery/jquery-ui
|
|
* Includes: jquery.effects.blind.js
|
|
* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
|
|
(function(a,b){a.effects.blind=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.direction||"vertical";a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:"hidden"}),h=f=="vertical"?"height":"width",i=f=="vertical"?g.height():g.width();e=="show"&&g.css(h,0);var j={};j[h]=e=="show"?i:0,g.animate(j,b.duration,b.options.easing,function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery); |