source: ether_iasi/trunk/web/resources/js/library/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.effect-fold.min.js

Last change on this file was 786, checked in by cbipsl, 10 years ago

commit temp
bug libraries

File size: 844 bytes
Line 
1/*! jQuery UI - v1.9.2 - 2014-05-04
2* http://jqueryui.com
3* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
4
5(function(e){e.effects.effect.fold=function(t,i){var a,s,r=e(this),n=["position","top","bottom","left","right","height","width"],o=e.effects.setMode(r,t.mode||"hide"),h="show"===o,l="hide"===o,u=t.size||15,d=/([0-9]+)%/.exec(u),c=!!t.horizFirst,p=h!==c,m=p?["width","height"]:["height","width"],f=t.duration/2,g={},y={};e.effects.save(r,n),r.show(),a=e.effects.createWrapper(r).css({overflow:"hidden"}),s=p?[a.width(),a.height()]:[a.height(),a.width()],d&&(u=parseInt(d[1],10)/100*s[l?0:1]),h&&a.css(c?{height:0,width:u}:{height:u,width:0}),g[m[0]]=h?s[0]:u,y[m[1]]=h?s[1]:0,a.animate(g,f,t.easing).animate(y,f,t.easing,function(){l&&r.hide(),e.effects.restore(r,n),e.effects.removeWrapper(r),i()})}})(jQuery);
Note: See TracBrowser for help on using the repository browser.