root / drupal7 / misc / ui / jquery.effects.transfer.min.js @ 76597ebf
1 | 85ad3d82 | Assos Assos | |
---|---|---|---|
2 | /*
|
||
3 | * jQuery UI Effects Transfer 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/Transfer
|
||
10 | *
|
||
11 | * Depends:
|
||
12 | * jquery.effects.core.js
|
||
13 | */
|
||
14 | (function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:"absolute"}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&&a.callback.apply(b[0],arguments); |
||
15 | b.dequeue()})})}})(jQuery); |