root / drupal7 / misc / ui / jquery.effects.blind.min.js @ 76597ebf
1 | 85ad3d82 | Assos Assos | |
---|---|---|---|
2 | /*
|
||
3 | * jQuery UI Effects Blind 1.8.7
|
||
4 | *
|
||
5 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||
6 | * Dual licensed under the MIT or GPL Version 2 licenses.
|
||
7 | * http://jquery.org/license
|
||
8 | *
|
||
9 | * http://docs.jquery.com/UI/Effects/Blind
|
||
10 | *
|
||
11 | * Depends:
|
||
12 | * jquery.effects.core.js
|
||
13 | */
|
||
14 | (function(b){b.effects.blind=function(c){return this.queue(function(){var a=b(this),g=["position","top","left"],f=b.effects.setMode(a,c.options.mode||"hide"),d=c.options.direction||"vertical";b.effects.save(a,g);a.show();var e=b.effects.createWrapper(a).css({overflow:"hidden"}),h=d=="vertical"?"height":"width";d=d=="vertical"?e.height():e.width();f=="show"&&e.css(h,0);var i={};i[h]=f=="show"?d:0;e.animate(i,c.duration,c.options.easing,function(){f=="hide"&&a.hide();b.effects.restore(a,g);b.effects.removeWrapper(a); |
||
15 | c.callback&&c.callback.apply(a[0],arguments);a.dequeue()})})}})(jQuery); |