编辑:effect-slide.js
/*! * jQuery UI Effects Slide 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ //>>label: Slide Effect //>>group: Effects //>>description: Slides an element in and out of the viewport. //>>docs: https://api.jqueryui.com/slide-effect/ //>>demos: https://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( "slide", "show", function( options, done ) { var startClip, startRef, element = $( this ), map = { up: [ "bottom", "top" ], down: [ "top", "bottom" ], left: [ "right", "left" ], right: [ "left", "right" ] }, mode = options.mode, direction = options.direction || "left", ref = ( direction === "up" || direction === "down" ) ? "top" : "left", positiveMotion = ( direction === "up" || direction === "left" ), distance = options.distance || element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ), animation = {}; $.effects.createPlaceholder( element ); startClip = element.cssClip(); startRef = element.position()[ ref ]; // Define hide animation animation[ ref ] = ( positiveMotion ? -1 : 1 ) * distance + startRef; animation.clip = element.cssClip(); animation.clip[ map[ direction ][ 1 ] ] = animation.clip[ map[ direction ][ 0 ] ]; // Reverse the animation if we're showing if ( mode === "show" ) { element.cssClip( animation.clip ); element.css( ref, animation[ ref ] ); animation.clip = startClip; animation[ ref ] = startRef; } // Actually animate element.animate( animation, { queue: false, duration: options.duration, easing: options.easing, complete: done } ); } ); } );
保存文件
位置:
home
/
londongranite
/
public_html
/
wp-includes
/
js
/
jquery
/
ui
批量上传
创建
创建
批量权限
批量删除
名称
权限
大小
修改时间
操作
↑ 返回上级
-
-
-
-
accordion.js
-rw-r--r--
15.76 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
accordion.min.js
-rw-r--r--
8.65 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
button.js
-rw-r--r--
11.43 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
button.min.js
-rw-r--r--
6.01 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
checkboxradio.min.js
-rw-r--r--
4.25 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
core.js
-rw-r--r--
48.72 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
core.min.js
-rw-r--r--
20.96 KB
2026-03-15 20:43
编辑
下载
权限
删除
重命名
dialog.js
-rw-r--r--
23.34 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
dialog.min.js
-rw-r--r--
12.79 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-blind.js
-rw-r--r--
1.61 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-fold.js
-rw-r--r--
2.13 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-highlight.js
-rw-r--r--
1.21 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-puff.js
-rw-r--r--
995 B
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-size.js
-rw-r--r--
5.29 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-size.min.js
-rw-r--r--
2.43 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect-slide.js
-rw-r--r--
1.92 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-transfer.js
-rw-r--r--
888 B
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect-transfer.min.js
-rw-r--r--
442 B
2024-06-27 16:55
编辑
下载
权限
删除
重命名
effect.js
-rw-r--r--
24.04 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
effect.min.js
-rw-r--r--
10.09 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
menu.js
-rw-r--r--
18.52 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
mouse.min.js
-rw-r--r--
3.35 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
selectable.js
-rw-r--r--
7.94 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
selectable.min.js
-rw-r--r--
4.4 KB
2026-03-15 20:43
编辑
下载
权限
删除
重命名
slider.js
-rw-r--r--
19.14 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
sortable.js
-rw-r--r--
46.52 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
sortable.min.js
-rw-r--r--
24.91 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名
tooltip.js
-rw-r--r--
14.14 KB
2024-05-28 01:14
编辑
下载
权限
删除
重命名
tooltip.min.js
-rw-r--r--
6.1 KB
2024-06-27 16:55
编辑
下载
权限
删除
重命名