summaryrefslogtreecommitdiff
path: root/misc/ui/effects.fold.js
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-21 03:47:32 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-21 03:47:32 +0000
commitc4f529917391bc0ea2aabcca99b2bf64c41470aa (patch)
tree2d778a0d4c79b7a06a863db4eeb3c892cb83133e /misc/ui/effects.fold.js
parentb0be4e7234a77ea7649f3188751adcccb1d83399 (diff)
downloadbrdo-c4f529917391bc0ea2aabcca99b2bf64c41470aa.tar.gz
brdo-c4f529917391bc0ea2aabcca99b2bf64c41470aa.tar.bz2
#679036 by marvil07, mfer, Rob Loach, et al: Upgrade to jQuery UI 1.8.
Diffstat (limited to 'misc/ui/effects.fold.js')
-rw-r--r--misc/ui/effects.fold.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/misc/ui/effects.fold.js b/misc/ui/effects.fold.js
deleted file mode 100644
index 365b7f2c2..000000000
--- a/misc/ui/effects.fold.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// $Id$
-
-/*
- * jQuery UI Effects Fold 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/Fold
- *
- * Depends:
- * effects.core.js
- */
-(function(a){a.effects.fold=function(b){return this.queue(function(){var e=a(this),k=["position","top","left"];var h=a.effects.setMode(e,b.options.mode||"hide");var o=b.options.size||15;var n=!(!b.options.horizFirst);var g=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(e,k);e.show();var d=a.effects.createWrapper(e).css({overflow:"hidden"});var i=((h=="show")!=n);var f=i?["width","height"]:["height","width"];var c=i?[d.width(),d.height()]:[d.height(),d.width()];var j=/([0-9]+)%/.exec(o);if(j){o=parseInt(j[1],10)/100*c[h=="hide"?0:1]}if(h=="show"){d.css(n?{height:0,width:o}:{height:o,width:0})}var m={},l={};m[f[0]]=h=="show"?c[0]:o;l[f[1]]=h=="show"?c[1]:0;d.animate(m,g,b.options.easing).animate(l,g,b.options.easing,function(){if(h=="hide"){e.hide()}a.effects.restore(e,k);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(e[0],arguments)}e.dequeue()})})}})(jQuery); \ No newline at end of file