From 4ba822c158c54b87fe34f6b160c926e190d47573 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 27 Jun 2009 23:10:59 +0000 Subject: #315035 by Damien Tournoud, Rob Loach, sun, mfer, et al: Adding jQuery UI 1.7.2 to core. --- misc/ui/effects.transfer.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 misc/ui/effects.transfer.js (limited to 'misc/ui/effects.transfer.js') diff --git a/misc/ui/effects.transfer.js b/misc/ui/effects.transfer.js new file mode 100644 index 000000000..f4c006e7b --- /dev/null +++ b/misc/ui/effects.transfer.js @@ -0,0 +1,15 @@ +// $Id$ + +/* + * jQuery UI Effects Transfer 1.7.2 + * + * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * http://docs.jquery.com/UI/Effects/Transfer + * + * Depends: + * effects.core.js + */ +(function(a){a.effects.transfer=function(b){return this.queue(function(){var f=a(this),h=a(b.options.to),e=h.offset(),g={top:e.top,left:e.left,height:h.innerHeight(),width:h.innerWidth()},d=f.offset(),c=a('
').appendTo(document.body).addClass(b.options.className).css({top:d.top,left:d.left,height:f.innerHeight(),width:f.innerWidth(),position:"absolute"}).animate(g,b.duration,b.options.easing,function(){c.remove();(b.callback&&b.callback.apply(f[0],arguments));f.dequeue()})})}})(jQuery); \ No newline at end of file -- cgit v1.2.3