X7ROOT File Manager
Current Path:
/home/okeydcqc/public_html/wp-content/plugins/ocean-posts-slider/assets/js
home
/
okeydcqc
/
public_html
/
wp-content
/
plugins
/
ocean-posts-slider
/
assets
/
js
/
ðŸ“
..
📄
.htaccess
(123 B)
📄
main.js
(1.93 KB)
📄
main.min.js
(978 B)
📄
metabox.js
(1.29 KB)
📄
metabox.min.js
(538 B)
📄
posts-slider.js
(33.85 KB)
📄
posts-slider.min.js
(8.19 KB)
Editing: metabox.js
( function( $ ) { "use strict"; $( document ).on( 'ready', function() { // Show/hide style two options var styleTwo = $( '#butterbean-control-oceanwp_ps_style select' ), styleTwoVal = styleTwo.val(), styleTwoSettings = $( '#butterbean-control-oceanwp_ps_number_per_slide' ); styleTwoSettings.hide(); if ( styleTwoVal === 'two' ) { styleTwoSettings.show(); } else { styleTwoSettings.hide(); } styleTwo.change( function () { var styleTwoVal = styleTwo.val(); if ( styleTwoVal === 'two' ) { styleTwoSettings.show(); } else { styleTwoSettings.hide(); } } ); // Show/hide image options var imageSize = $( '#butterbean-control-oceanwp_ps_size select' ), imageSizeVal = imageSize.val(), imageCustomSettings = $( '#butterbean-control-oceanwp_ps_img_width, #butterbean-control-oceanwp_ps_img_height' ); imageCustomSettings.hide(); if ( imageSizeVal === 'custom' ) { imageCustomSettings.show(); } else { imageCustomSettings.hide(); } imageSize.change( function () { var imageSizeVal = imageSize.val(); if ( imageSizeVal === 'custom' ) { imageCustomSettings.show(); } else { imageCustomSettings.hide(); } } ); } ); } ) ( jQuery );
Upload File
Create Folder