From af15f2c4a192dea02aab9e519defc68c71763ec4 Mon Sep 17 00:00:00 2001 From: yvesf Date: Mon, 22 Nov 2010 14:34:55 +0100 Subject: jquery ui --- .../development-bundle/ui/jquery.effects.fade.js | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 static/development-bundle/ui/jquery.effects.fade.js (limited to 'static/development-bundle/ui/jquery.effects.fade.js') diff --git a/static/development-bundle/ui/jquery.effects.fade.js b/static/development-bundle/ui/jquery.effects.fade.js new file mode 100644 index 0000000..a18d38c --- /dev/null +++ b/static/development-bundle/ui/jquery.effects.fade.js @@ -0,0 +1,32 @@ +/* + * jQuery UI Effects Fade 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Fade + * + * Depends: + * jquery.effects.core.js + */ +(function( $, undefined ) { + +$.effects.fade = function(o) { + return this.queue(function() { + var elem = $(this), + mode = $.effects.setMode(elem, o.options.mode || 'hide'); + + elem.animate({ opacity: mode }, { + queue: false, + duration: o.duration, + easing: o.options.easing, + complete: function() { + (o.callback && o.callback.apply(this, arguments)); + elem.dequeue(); + } + }); + }); +}; + +})(jQuery); -- cgit v1.2.1