Mercurial > hg > rr-repo
comparison misc/ui/jquery.effects.transfer.min.js @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ff03f76ab3fe |
---|---|
1 | |
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); |