403Webshell
Server IP : 38.190.208.107  /  Your IP : 216.73.217.46
Web Server : nginx/1.28.1
System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64
User : root ( 0)
PHP Version : 8.2.28
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/wp.3/wp-content/plugins/Ultimate_VC_Addons/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/wp.3/wp-content/plugins/Ultimate_VC_Addons/assets/js/highlight-box.js
( function ( $ ) {
	$( document ).ready( function () {
		$( document ).on(
			'mouseenter',
			'.ultimate-call-to-action',
			function () {
				$( this ).addClass( 'ultimate-call-to-action-hover' );
				const hover = $( this ).data( 'background-hover' );
				$( this ).css( { 'background-color': hover } );
			}
		);

		$( document ).on(
			'mouseleave',
			'.ultimate-call-to-action',
			function () {
				$( this ).removeClass( 'ultimate-call-to-action-hover' );
				const background = $( this ).data( 'background' );
				$( this ).css( { 'background-color': background } );
			}
		);

		resize_call_to_action();

		$( window ).resize( function () {
			resize_call_to_action();
		} );
	} );

	function resize_call_to_action() {
		$( '.ultimate-call-to-action' ).each( function ( i, element ) {
			const override = $( element ).data( 'override' );
			if ( override != 0 ) {
				$( element ).css( { 'margin-left': 0 } );
				let is_relative = 'true';
				if ( $( element ).parents( '.wpb_row' ).length > 0 )
					var ancenstor = $( element ).parents( '.wpb_row' );
				else if ( $( element ).parents( '.wpb_column' ).length > 0 )
					var ancenstor = $( element ).parents( '.wpb_column' );
				else var ancenstor = $( element ).parent();

				const parent = ancenstor;
				if ( override == 'full' ) {
					ancenstor = $( 'body' );
					is_relative = 'false';
				}
				if ( override == 'ex-full' ) {
					ancenstor = $( 'html' );
					is_relative = 'false';
				}
				if ( ! isNaN( override ) ) {
					for ( var i = 1; i <= override; i++ ) {
						if ( ancenstor.prop( 'tagName' ) != 'HTML' ) {
							ancenstor = ancenstor.parent();
						} else {
							break;
						}
					}
				}

				const w = ancenstor.outerWidth();

				const element_left = $( element ).offset().left;
				const element_left_pos = $( element ).position().left;
				const holder_left = ancenstor.offset().left;
				const holder_left_pos = ancenstor.position().left;
				let calculate_left = holder_left - element_left;

				if ( override != 'full' && override != 'ex-full' ) {
					calculate_left = holder_left - holder_left_pos;
				}

				$( element ).css( { width: w, 'margin-left': calculate_left } );
			}
		} );
	}
} )( jQuery );

Youez - 2016 - github.com/yon3zu
LinuXploit