__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/*!
* jQuery UI Effects Explode 1.13.2
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
//>>label: Explode Effect
//>>group: Effects
/* eslint-disable max-len */
//>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness.
/* eslint-enable max-len */
//>>docs: http://api.jqueryui.com/explode-effect/
//>>demos: http://jqueryui.com/effect/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [
"jquery",
"../version",
"../effect"
], factory );
} else {
// Browser globals
factory( jQuery );
}
} )( function( $ ) {
"use strict";
return $.effects.define( "explode", "hide", function( options, done ) {
var i, j, left, top, mx, my,
rows = options.pieces ? Math.round( Math.sqrt( options.pieces ) ) : 3,
cells = rows,
element = $( this ),
mode = options.mode,
show = mode === "show",
// Show and then visibility:hidden the element before calculating offset
offset = element.show().css( "visibility", "hidden" ).offset(),
// Width and height of a piece
width = Math.ceil( element.outerWidth() / cells ),
height = Math.ceil( element.outerHeight() / rows ),
pieces = [];
// Children animate complete:
function childComplete() {
pieces.push( this );
if ( pieces.length === rows * cells ) {
animComplete();
}
}
// Clone the element for each row and cell.
for ( i = 0; i < rows; i++ ) { // ===>
top = offset.top + i * height;
my = i - ( rows - 1 ) / 2;
for ( j = 0; j < cells; j++ ) { // |||
left = offset.left + j * width;
mx = j - ( cells - 1 ) / 2;
// Create a clone of the now hidden main element that will be absolute positioned
// within a wrapper div off the -left and -top equal to size of our pieces
element
.clone()
.appendTo( "body" )
.wrap( "<div></div>" )
.css( {
position: "absolute",
visibility: "visible",
left: -j * width,
top: -i * height
} )
// Select the wrapper - make it overflow: hidden and absolute positioned based on
// where the original was located +left and +top equal to the size of pieces
.parent()
.addClass( "ui-effects-explode" )
.css( {
position: "absolute",
overflow: "hidden",
width: width,
height: height,
left: left + ( show ? mx * width : 0 ),
top: top + ( show ? my * height : 0 ),
opacity: show ? 0 : 1
} )
.animate( {
left: left + ( show ? 0 : mx * width ),
top: top + ( show ? 0 : my * height ),
opacity: show ? 1 : 0
}, options.duration || 500, options.easing, childComplete );
}
}
function animComplete() {
element.css( {
visibility: "visible"
} );
$( pieces ).remove();
done();
}
} );
} );
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| effect-blind.js | File | 1.6 KB | 0644 |
|
| effect-blind.min.js | File | 928 B | 0644 |
|
| effect-bounce.js | File | 2.59 KB | 0644 |
|
| effect-bounce.min.js | File | 1.25 KB | 0644 |
|
| effect-clip.js | File | 1.54 KB | 0644 |
|
| effect-clip.min.js | File | 912 B | 0644 |
|
| effect-drop.js | File | 1.55 KB | 0644 |
|
| effect-drop.min.js | File | 836 B | 0644 |
|
| effect-explode.js | File | 2.85 KB | 0644 |
|
| effect-explode.min.js | File | 1.2 KB | 0644 |
|
| effect-fade.js | File | 964 B | 0644 |
|
| effect-fade.min.js | File | 395 B | 0644 |
|
| effect-fold.js | File | 2.13 KB | 0644 |
|
| effect-fold.min.js | File | 1.24 KB | 0644 |
|
| effect-highlight.js | File | 1.21 KB | 0644 |
|
| effect-highlight.min.js | File | 558 B | 0644 |
|
| effect-puff.js | File | 991 B | 0644 |
|
| effect-puff.min.js | File | 377 B | 0644 |
|
| effect-pulsate.js | File | 1.53 KB | 0644 |
|
| effect-pulsate.min.js | File | 715 B | 0644 |
|
| effect-scale.js | File | 1.34 KB | 0644 |
|
| effect-scale.min.js | File | 626 B | 0644 |
|
| effect-shake.js | File | 1.84 KB | 0644 |
|
| effect-shake.min.js | File | 1.02 KB | 0644 |
|
| effect-size.js | File | 5.29 KB | 0644 |
|
| effect-size.min.js | File | 3.22 KB | 0644 |
|
| effect-slide.js | File | 1.92 KB | 0644 |
|
| effect-slide.min.js | File | 1.07 KB | 0644 |
|
| effect-transfer.js | File | 884 B | 0644 |
|
| effect-transfer.min.js | File | 302 B | 0644 |
|