Sha256: 088e9649e4a80352571f7c37fde6a132779740fd92525cc784eb8574d69041b5

Contents?: true

Size: 1.49 KB

Versions: 11

Compression:

Stored size: 1.49 KB

Contents

/*! jQuery UI - v1.8.23 - 2012-08-15
* https://github.com/jquery/jquery-ui
* Includes: jquery.effects.explode.js
* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
(function(a,b){a.effects.explode=function(b){return this.queue(function(){var c=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3,d=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;b.options.mode=b.options.mode=="toggle"?a(this).is(":visible")?"hide":"show":b.options.mode;var e=a(this).show().css("visibility","hidden"),f=e.offset();f.top-=parseInt(e.css("marginTop"),10)||0,f.left-=parseInt(e.css("marginLeft"),10)||0;var g=e.outerWidth(!0),h=e.outerHeight(!0);for(var i=0;i<c;i++)for(var j=0;j<d;j++)e.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-j*(g/d),top:-i*(h/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:g/d,height:h/c,left:f.left+j*(g/d)+(b.options.mode=="show"?(j-Math.floor(d/2))*(g/d):0),top:f.top+i*(h/c)+(b.options.mode=="show"?(i-Math.floor(c/2))*(h/c):0),opacity:b.options.mode=="show"?0:1}).animate({left:f.left+j*(g/d)+(b.options.mode=="show"?0:(j-Math.floor(d/2))*(g/d)),top:f.top+i*(h/c)+(b.options.mode=="show"?0:(i-Math.floor(c/2))*(h/c)),opacity:b.options.mode=="show"?1:0},b.duration||500);setTimeout(function(){b.options.mode=="show"?e.css({visibility:"visible"}):e.css({visibility:"visible"}).hide(),b.callback&&b.callback.apply(e[0]),e.dequeue(),a("div.ui-effects-explode").remove()},b.duration||500)})}})(jQuery);

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bonethug-0.0.17 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.16 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.15 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.14 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.13 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.12 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.11 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.10 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.7 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.6 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js
bonethug-0.0.5 skel/project_types/silverstripe3/public/abc/javascript/library/jQuery/ui/development-bundle/ui/minified/jquery.effects.explode.min.js