File Editor
Directories:
.. (Back)
Files:
accordion.min.js
autocomplete.min.js
button.min.js
core.min.js
datepicker.min.js
dialog.min.js
draggable.min.js
droppable.min.js
effect-blind.min.js
effect-bounce.min.js
effect-clip.min.js
effect-drop.min.js
effect-explode.min.js
effect-fade.min.js
effect-fold.min.js
effect-highlight.min.js
effect-puff.min.js
effect-pulsate.min.js
effect-scale.min.js
effect-shake.min.js
effect-size.min.js
effect-slide.min.js
effect-transfer.min.js
effect.min.js
menu.min.js
mouse.min.js
position.min.js
progressbar.min.js
resizable.min.js
selectable.min.js
selectmenu.min.js
slider.min.js
sortable.min.js
spinner.min.js
tabs.min.js
tooltip.min.js
widget.min.js
Create New File
Create
Edit File: effect-explode.min.js
/*! * jQuery UI Effects Explode 1.11.4 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/explode-effect/ */ !function(e){"function"==typeof define&&define.amd?define(["jquery","./effect"],e):e(jQuery)}(function(b){return b.effects.effect.explode=function(e,i){var t,o,s,f,n,d,c=e.pieces?Math.round(Math.sqrt(e.pieces)):3,a=c,h=b(this),l="show"===b.effects.setMode(h,e.mode||"hide"),p=h.show().css("visibility","hidden").offset(),u=Math.ceil(h.outerWidth()/a),r=Math.ceil(h.outerHeight()/c),v=[];function y(){v.push(this),v.length===c*a&&function(){h.css({visibility:"visible"}),b(v).remove(),l||h.hide();i()}()}for(t=0;t<c;t++)for(f=p.top+t*r,d=t-(c-1)/2,o=0;o<a;o++)s=p.left+o*u,n=o-(a-1)/2,h.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-o*u,top:-t*r}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:u,height:r,left:s+(l?n*u:0),top:f+(l?d*r:0),opacity:l?0:1}).animate({left:s+(l?0:n*u),top:f+(l?0:d*r),opacity:l?1:0},e.duration||500,e.easing,y)}});
Save Changes
Rename File
Rename