Sha256: 163a1c2ee1416bbbc25d66d95f8fc48f9c33597ad7c7c9e6cdaf1007c3820c76
Contents?: true
Size: 1.07 KB
Versions: 23
Compression:
Stored size: 1.07 KB
Contents
/*! * jQuery UI Effects Blind 1.10.3 * http://jqueryui.com * * Copyright 2013 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/blind-effect/ * * Depends: * jquery.ui.effect.js */ !function(e){var t=/up|down|vertical/,s=/up|left|vertical|horizontal/;e.effects.effect.blind=function(o,i){var f,r,c,a=e(this),n=["position","top","bottom","left","right","height","width"],p=e.effects.setMode(a,o.mode||"hide"),h=o.direction||"up",d=t.test(h),u=d?"height":"width",l=d?"top":"left",v=s.test(h),w={},g="show"===p;a.parent().is(".ui-effects-wrapper")?e.effects.save(a.parent(),n):e.effects.save(a,n),a.show(),f=e.effects.createWrapper(a).css({overflow:"hidden"}),r=f[u](),c=parseFloat(f.css(l))||0,w[u]=g?r:0,v||(a.css(d?"bottom":"right",0).css(d?"top":"left","auto").css({position:"absolute"}),w[l]=g?c:r+c),g&&(f.css(u,0),v||f.css(l,c+r)),f.animate(w,{duration:o.duration,easing:o.easing,queue:!1,complete:function(){"hide"===p&&a.hide(),e.effects.restore(a,n),e.effects.removeWrapper(a),i()}})}}(jQuery);
Version data entries
23 entries across 23 versions & 1 rubygems