403Webshell
Server IP : 60.247.133.247  /  Your IP : 216.73.217.108
Web Server : Apache
System : Linux ebs-119054 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64
User : goodwill ( 65985)
PHP Version : 8.2.20
Disable Function : link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server,pcntl_fork,pcntl_rfork
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wwwroot/goodwill/wwwroot/wp-content/plugins/Ultimate_VC_Addons/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wwwroot/goodwill/wwwroot/wp-content/plugins/Ultimate_VC_Addons/assets/js/teams.js
jQuery( document ).ready( function () {
	jQuery( '.ult-team.ult-social-icon' ).on(
		'mouseenter',
		function () {
			const icon_color = jQuery( this ).data( 'iconcolor' );
			const icon_hover = jQuery( this ).data( 'iconhover' );

			if ( icon_hover != 'inherit' ) {
				jQuery( this ).css( 'color', icon_hover );
			} else {
				jQuery( this ).css( 'color', '' );
			}
		},
	).on(
		'mouseleave',
		function () {
			const icon_color = jQuery( this ).data( 'iconcolor' );
			const icon_hover = jQuery( this ).data( 'iconhover' );

			if ( icon_color != 'inherit' ) {
				jQuery( this ).css( 'color', icon_color );
			} else {
				jQuery( this ).css( 'color', '' );
			}
		}
	);

	jQuery( '.ult-style-2' ).on(
		'mouseenter',
		function () {
			const self = jQuery( this )
				.find( ' .ult-team-member-image' )
				.first();
			const hover_opacity = self.data( 'hover_opacity' );
			self.children( 'img' ).css( 'opacity', hover_opacity );
		},
	).on(
		'mouseleave',
		function () {
			const self = jQuery( this )
				.find( ' .ult-team-member-image' )
				.first();
			const opacity = self.data( 'opacity' );
			self.children( 'img' ).css( 'opacity', opacity );
		}
	);

	jQuery( '.ult-style-3' ).on(
		'mouseenter',
		function () {
			const self = jQuery( this )
				.find( ' .ult-team-member-image' )
				.first();
			const hover_opacity = self.data( 'hover_opacity' );
			self.find( 'img' ).css( 'opacity', hover_opacity );
		},
	).on(
		'mouseleave',
		function () {
			const self = jQuery( this )
				.find( ' .ult-team-member-image' )
				.first();
			self.find( 'img' ).css( 'opacity', 1 );
		}
	);

	function Ult_ResponsiveStyle() {
		jQuery( '.ult-team-member-wrap' ).each( function ( i ) {
			const r_width = jQuery( this ).data( 'responsive_width' );

			if ( r_width != '' ) {
				if ( jQuery( window ).width() <= r_width ) {
					jQuery( this ).removeClass( 'ult-style-2' );
					jQuery( this ).addClass( 'ult-style-1 ult-responsive' );
				} else if ( jQuery( this ).hasClass( 'ult-responsive' ) ) {
					jQuery( this ).removeClass( 'ult-style-1 ult-responsive' );
					jQuery( this ).addClass( 'ult-style-2' );
				}
			}
		} );
	}

	function set_Top_Description() {
		jQuery( '.ult-team-member-wrap' ).each( function ( i ) {
			const p_height = jQuery( this ).height();
			const child_height = jQuery( this ).find(
				'.ult-team_description_slide'
			);
			const desc_element = child_height; // jQuery(child_height[0]);

			if (
				parseFloat( p_height ) < parseFloat( desc_element.height() )
			) {
				desc_element.addClass( 'ult-desc-set-top' );
			} else if ( desc_element.hasClass( 'ult-desc-set-top' ) ) {
				desc_element.removeClass( 'ult-desc-set-top' );
			}
		} );

		jQuery( '.ult-style-3 .ult-team-member-image' ).each( function ( i ) {
			const p_height = jQuery( this ).height();
			const child_height = jQuery( this ).find(
				'.ult-team-member-description'
			);
			const desc_element = child_height; // jQuery(child_height[0]);

			if (
				parseFloat( p_height ) < parseFloat( desc_element.height() )
			) {
				desc_element.addClass( 'ult-desc-set-top' );
			} else if ( desc_element.hasClass( 'ult-desc-set-top' ) ) {
				desc_element.removeClass( 'ult-desc-set-top' );
			}
		} );
	}
	Ult_ResponsiveStyle();

	setTimeout( set_Top_Description, 500 );

	jQuery( '.ult-team-member-wrap .ult-team-member-image img' ).on(
		'load',
		function () {
			set_Top_Description();
		}
	);

	jQuery( window ).on( 'resize', function () {
		Ult_ResponsiveStyle();
		set_Top_Description();
	} );

	jQuery( '.ult-team-member-image-overlay.ult-team_img_hover' ).each(
		function () {
			const bg_color = jQuery( this ).data( 'background_clr' );
			jQuery( this ).css( { 'background-color': bg_color } );
		}
	);
} );

Youez - 2016 - github.com/yon3zu
LinuXploit