jQuery UI image assets are missing on webkit.org website.
[WebKit-https.git] / Websites / webkit.org / ajax / libs / jqueryui / 1.8.15 / ui / jquery.effects.transfer.min.js
1 /*
2  * jQuery UI Effects Transfer 1.8.15
3  *
4  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5  * Dual licensed under the MIT or GPL Version 2 licenses.
6  * http://jquery.org/license
7  *
8  * http://docs.jquery.com/UI/Effects/Transfer
9  *
10  * Depends:
11  *      jquery.effects.core.js
12  */
13 (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);
14 b.dequeue()})})}})(jQuery);