golden hour
/var/www/html/wp-includes/js/jquery/ui
⬆️ Go Up
Upload
File/Folder
Size
Actions
accordion.js
15.49 KB
Del
OK
accordion.min.js
8.46 KB
Del
OK
autocomplete.js
17.19 KB
Del
OK
autocomplete.min.js
8.34 KB
Del
OK
button.js
9.74 KB
Del
OK
button.min.js
5.44 KB
Del
OK
checkboxradio.js
7.33 KB
Del
OK
checkboxradio.min.js
4.27 KB
Del
OK
controlgroup.js
8.36 KB
Del
OK
controlgroup.min.js
4.26 KB
Del
OK
core.js
47.81 KB
Del
OK
core.min.js
20.3 KB
Del
OK
datepicker.js
78.88 KB
Del
OK
datepicker.min.js
35.3 KB
Del
OK
dialog.js
22.51 KB
Del
OK
dialog.min.js
12.48 KB
Del
OK
draggable.js
34.51 KB
Del
OK
draggable.min.js
17.86 KB
Del
OK
droppable.js
12.52 KB
Del
OK
droppable.min.js
6.43 KB
Del
OK
effect-blind.js
1.55 KB
Del
OK
effect-blind.min.js
838 B
Del
OK
effect-bounce.js
2.55 KB
Del
OK
effect-bounce.min.js
949 B
Del
OK
effect-clip.js
1.49 KB
Del
OK
effect-clip.min.js
754 B
Del
OK
effect-drop.js
1.51 KB
Del
OK
effect-drop.min.js
709 B
Del
OK
effect-explode.js
2.81 KB
Del
OK
effect-explode.min.js
1.05 KB
Del
OK
effect-fade.js
916 B
Del
OK
effect-fade.min.js
483 B
Del
OK
effect-fold.js
2.08 KB
Del
OK
effect-fold.min.js
978 B
Del
OK
effect-highlight.js
1.16 KB
Del
OK
effect-highlight.min.js
606 B
Del
OK
effect-puff.js
943 B
Del
OK
effect-puff.min.js
468 B
Del
OK
effect-pulsate.js
1.48 KB
Del
OK
effect-pulsate.min.js
646 B
Del
OK
effect-scale.js
1.29 KB
Del
OK
effect-scale.min.js
681 B
Del
OK
effect-shake.js
1.79 KB
Del
OK
effect-shake.min.js
804 B
Del
OK
effect-size.js
5.19 KB
Del
OK
effect-size.min.js
2.35 KB
Del
OK
effect-slide.js
1.87 KB
Del
OK
effect-slide.min.js
875 B
Del
OK
effect-transfer.js
836 B
Del
OK
effect-transfer.min.js
400 B
Del
OK
effect.js
39.89 KB
Del
OK
effect.min.js
16.52 KB
Del
OK
menu.js
17.36 KB
Del
OK
menu.min.js
9.31 KB
Del
OK
mouse.js
5.98 KB
Del
OK
mouse.min.js
3.3 KB
Del
OK
progressbar.js
4.1 KB
Del
OK
progressbar.min.js
2.46 KB
Del
OK
resizable.js
29.22 KB
Del
OK
resizable.min.js
18.04 KB
Del
OK
selectable.js
7.88 KB
Del
OK
selectable.min.js
4.35 KB
Del
OK
selectmenu.js
15.68 KB
Del
OK
selectmenu.min.js
9.08 KB
Del
OK
slider.js
19.06 KB
Del
OK
slider.min.js
10.46 KB
Del
OK
sortable.js
44.95 KB
Del
OK
sortable.min.js
24.2 KB
Del
OK
spinner.js
13.85 KB
Del
OK
spinner.min.js
7.36 KB
Del
OK
tabs.js
23 KB
Del
OK
tabs.min.js
11.64 KB
Del
OK
tooltip.js
13.95 KB
Del
OK
tooltip.min.js
5.95 KB
Del
OK
Edit: effect-size.js
/*! * jQuery UI Effects Size 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ //>>label: Size Effect //>>group: Effects //>>description: Resize an element to a specified width and height. //>>docs: http://api.jqueryui.com/size-effect/ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( [ "jquery", "./effect" ], factory ); } else { // Browser globals factory( jQuery ); } }( function( $ ) { return $.effects.define( "size", function( options, done ) { // Create element var baseline, factor, temp, element = $( this ), // Copy for children cProps = [ "fontSize" ], vProps = [ "borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom" ], hProps = [ "borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight" ], // Set options mode = options.mode, restore = mode !== "effect", scale = options.scale || "both", origin = options.origin || [ "middle", "center" ], position = element.css( "position" ), pos = element.position(), original = $.effects.scaledDimensions( element ), from = options.from || original, to = options.to || $.effects.scaledDimensions( element, 0 ); $.effects.createPlaceholder( element ); if ( mode === "show" ) { temp = from; from = to; to = temp; } // Set scaling factor factor = { from: { y: from.height / original.height, x: from.width / original.width }, to: { y: to.height / original.height, x: to.width / original.width } }; // Scale the css box if ( scale === "box" || scale === "both" ) { // Vertical props scaling if ( factor.from.y !== factor.to.y ) { from = $.effects.setTransition( element, vProps, factor.from.y, from ); to = $.effects.setTransition( element, vProps, factor.to.y, to ); } // Horizontal props scaling if ( factor.from.x !== factor.to.x ) { from = $.effects.setTransition( element, hProps, factor.from.x, from ); to = $.effects.setTransition( element, hProps, factor.to.x, to ); } } // Scale the content if ( scale === "content" || scale === "both" ) { // Vertical props scaling if ( factor.from.y !== factor.to.y ) { from = $.effects.setTransition( element, cProps, factor.from.y, from ); to = $.effects.setTransition( element, cProps, factor.to.y, to ); } } // Adjust the position properties based on the provided origin points if ( origin ) { baseline = $.effects.getBaseline( origin, original ); from.top = ( original.outerHeight - from.outerHeight ) * baseline.y + pos.top; from.left = ( original.outerWidth - from.outerWidth ) * baseline.x + pos.left; to.top = ( original.outerHeight - to.outerHeight ) * baseline.y + pos.top; to.left = ( original.outerWidth - to.outerWidth ) * baseline.x + pos.left; } element.css( from ); // Animate the children if desired if ( scale === "content" || scale === "both" ) { vProps = vProps.concat( [ "marginTop", "marginBottom" ] ).concat( cProps ); hProps = hProps.concat( [ "marginLeft", "marginRight" ] ); // Only animate children with width attributes specified // TODO: is this right? should we include anything with css width specified as well element.find( "*[width]" ).each( function() { var child = $( this ), childOriginal = $.effects.scaledDimensions( child ), childFrom = { height: childOriginal.height * factor.from.y, width: childOriginal.width * factor.from.x, outerHeight: childOriginal.outerHeight * factor.from.y, outerWidth: childOriginal.outerWidth * factor.from.x }, childTo = { height: childOriginal.height * factor.to.y, width: childOriginal.width * factor.to.x, outerHeight: childOriginal.height * factor.to.y, outerWidth: childOriginal.width * factor.to.x }; // Vertical props scaling if ( factor.from.y !== factor.to.y ) { childFrom = $.effects.setTransition( child, vProps, factor.from.y, childFrom ); childTo = $.effects.setTransition( child, vProps, factor.to.y, childTo ); } // Horizontal props scaling if ( factor.from.x !== factor.to.x ) { childFrom = $.effects.setTransition( child, hProps, factor.from.x, childFrom ); childTo = $.effects.setTransition( child, hProps, factor.to.x, childTo ); } if ( restore ) { $.effects.saveStyle( child ); } // Animate children child.css( childFrom ); child.animate( childTo, options.duration, options.easing, function() { // Restore children if ( restore ) { $.effects.restoreStyle( child ); } } ); } ); } // Animate element.animate( to, { queue: false, duration: options.duration, easing: options.easing, complete: function() { var offset = element.offset(); if ( to.opacity === 0 ) { element.css( "opacity", from.opacity ); } if ( !restore ) { element .css( "position", position === "static" ? "relative" : position ) .offset( offset ); // Need to save style here so that automatic style restoration // doesn't restore to the original styles from before the animation. $.effects.saveStyle( element ); } done(); } } ); } ); } ) );
Save