summaryrefslogtreecommitdiff
path: root/misc/ui/jquery.effects.transfer.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ui/jquery.effects.transfer.min.js')
-rw-r--r--misc/ui/jquery.effects.transfer.min.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/ui/jquery.effects.transfer.min.js b/misc/ui/jquery.effects.transfer.min.js
new file mode 100644
index 000000000..c986abcec
--- /dev/null
+++ b/misc/ui/jquery.effects.transfer.min.js
@@ -0,0 +1,15 @@
+// $Id$
+
+/*
+ * jQuery UI Effects Transfer 1.8
+ *
+ * Copyright (c) 2010 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:
+ * jquery.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('<div class="ui-effects-transfer"></div>').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