HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/refonte2023/wordpress/wp-content/themes/gimont/assets/js/elementor/testimonial-2.js
(function($){
	"use strict";
	
	$(window).on('elementor/frontend/init', function () {
		
        elementorFrontend.hooks.addAction('frontend/element_ready/gimont_elementor_testimonial_2.default', function(){
	       
	        /* Add your code here */
	        
        		var dataOptions = $('.ova-testimonial-2 .slide-testimonial').attr('data-options');
        		var options 	= JSON.parse( dataOptions );
	        	var owl 		= $('.ova-testimonial-2 .slide-testimonial .owl-carousel');

	        	if ( $('body').hasClass('rtl') ) {
                	options.rtl = true;
                }

	        	owl.owlCarousel({
				    loop:options.loop,
				    margin:options.margin,
				    nav:true,
				    navContainer: '#nav-ova-testimonial-2',
				    dots: false,
				    items: options.items,
				    autoplay: options.autoplay,
				    autoplayHoverPause: options.autoplayHoverPause,
				    autoplayTimeout: options.autoplayTimeout,
				    rtl: options.rtl,
				    slideBy: options.slideBy,
				    smartSpeed: options.smartSpeed,
				    navText:[
		          		'<i class="fas fa-long-arrow-alt-left"></i>',
		          		'<i class="fas fa-long-arrow-alt-right"></i>'
		          	],
				    responsive:{
				        0:{
				            items:1
				        },
				        768:{
				            items:2
				        },
				        1024:{
				            items:options.items
				        }
				    }
				});

				/* Fixed WCAG */
				$(document).find("#nav-ova-testimonial-2 button.owl-prev").attr("title", "Previous");
				$(document).find("#nav-ova-testimonial-2 button.owl-next").attr("title", "Next");
				owl.find(".owl-dots button").attr("title", "Dots");
	        
        });
        
   });

})(jQuery);