__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/*!
* jQuery UI Effects Bounce 1.13.2
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
//>>label: Bounce Effect
//>>group: Effects
//>>description: Bounces an element horizontally or vertically n times.
//>>docs: http://api.jqueryui.com/bounce-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( "bounce", function( options, done ) {
var upAnim, downAnim, refValue,
element = $( this ),
// Defaults:
mode = options.mode,
hide = mode === "hide",
show = mode === "show",
direction = options.direction || "up",
distance = options.distance,
times = options.times || 5,
// Number of internal animations
anims = times * 2 + ( show || hide ? 1 : 0 ),
speed = options.duration / anims,
easing = options.easing,
// Utility:
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
motion = ( direction === "up" || direction === "left" ),
i = 0,
queuelen = element.queue().length;
$.effects.createPlaceholder( element );
refValue = element.css( ref );
// Default distance for the BIGGEST bounce is the outer Distance / 3
if ( !distance ) {
distance = element[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3;
}
if ( show ) {
downAnim = { opacity: 1 };
downAnim[ ref ] = refValue;
// If we are showing, force opacity 0 and set the initial position
// then do the "first" animation
element
.css( "opacity", 0 )
.css( ref, motion ? -distance * 2 : distance * 2 )
.animate( downAnim, speed, easing );
}
// Start at the smallest distance if we are hiding
if ( hide ) {
distance = distance / Math.pow( 2, times - 1 );
}
downAnim = {};
downAnim[ ref ] = refValue;
// Bounces up/down/left/right then back to 0 -- times * 2 animations happen here
for ( ; i < times; i++ ) {
upAnim = {};
upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
element
.animate( upAnim, speed, easing )
.animate( downAnim, speed, easing );
distance = hide ? distance * 2 : distance / 2;
}
// Last Bounce when Hiding
if ( hide ) {
upAnim = { opacity: 0 };
upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
element.animate( upAnim, speed, easing );
}
element.queue( done );
$.effects.unshift( element, queuelen, anims + 1 );
} );
} );
| 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 |
|