HEX
Server: Apache/2.4.25
System: Linux ion14 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
User: (10087)
PHP: 7.4.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,system, exec, shell_exec, passthru, popen, proc_open
Upload Files
File: /home/www/web115/wordpress/wp-content/themes/osmosis/includes/js/grve-portfolio-options.js
(function($) {

	"use strict";

	$(document).on("change","#grve-portfolio-media-selection",function() {

		$('.grve-portfolio-media-item').hide();

		switch($(this).val()) {
			case "gallery":
				$('#grve-portfolio-media-slider').stop( true, true ).fadeIn(500);
				$('#grve-slider-container').stop( true, true ).fadeIn(500);
            break;
			case "gallery-vertical":
				$('.grve-portfolio-media-image-mode').stop( true, true ).fadeIn(500);
				$('#grve-portfolio-media-slider').stop( true, true ).fadeIn(500);
				$('#grve-slider-container').stop( true, true ).fadeIn(500);
            break;
			case "slider":
				$('.grve-portfolio-media-image-mode').stop( true, true ).fadeIn(500);
				$('#grve-portfolio-media-slider').stop( true, true ).fadeIn(500);
				$('#grve-portfolio-media-slider-speed').stop( true, true ).fadeIn(500);
				$('#grve-portfolio-media-slider-direction-nav').stop( true, true ).fadeIn(500);
				$('#grve-slider-container').stop( true, true ).fadeIn(500);
            break;
			case "video":
				$('.grve-portfolio-video-embed').stop( true, true ).fadeIn(500);
			break;
			case "video-html5":
				$('.grve-portfolio-video-html5').stop( true, true ).fadeIn(500);
			break;
            default:
			break;
        }
    });

	$(document).on("change","#grve-portfolio-link-mode",function() {
		switch($(this).val()) {
			case "link":
				$('.grve-portfolio-custom-link-mode').stop( true, true ).fadeIn(500);
            break;
            default:
				$('.grve-portfolio-custom-link-mode').hide();
			break;
        }
    });

	$(window).on('load',function () {
		console.log('load');
		$('#grve-portfolio-media-selection').trigger('change');
		$('#grve-portfolio-link-mode').trigger('change');
	});

})( jQuery );