PageSourceSearch

https://encanteurscontinental.com/wp-content/plugins/sydney-toolbox/js/main-legacy.js?ver=20211217

js encanteurscontinental.com collected 2026-10-01 16:20:47 UTC 3,301 bytes, 119 lines download raw bytes

1
2
3(function ($) {
4
5    var aThemesTestimonialsCarouselrun = function ($scope, $) {
6
7		if ( $().owlCarousel ) {
8			$('.roll-testimonials').not('.owl-carousel').owlCarousel({
9				navigation : false,
10				pagination: true,
11				responsive: true,
12				items: 1,
13				itemsDesktop: [3000,1],
14				itemsDesktopSmall: [1400,1],
15				itemsTablet:[970,1],
16				itemsTabletSmall: [600,1],
17				itemsMobile: [360,1],
18				touchDrag: true,
19				mouseDrag: true,
20				autoHeight: true,
21				autoPlay: $('.roll-testimonials').data('autoplay')
22			});
23		} 
24
25    };    
26
27    var aThemesNewsCarouselrun = function ($scope, $) {
28
29		if ( $().owlCarousel ) {
30			$(".panel-grid-cell .latest-news-wrapper").owlCarousel({
31				navigation : false,
32				pagination: true,
33				responsive: true,
34				items: 3,
35				itemsDesktopSmall: [1400,3],
36				itemsTablet:[970,2],
37				itemsTabletSmall: [600,1],
38				itemsMobile: [360,1],
39				touchDrag: true,
40				mouseDrag: true,
41				autoHeight: false,
42				autoPlay: false
43			}); // end owlCarousel
44
45		} // end if
46
47    };    
48
49    var aThemesIsotoperun = function ($scope, $) {
50	   if ( $('.project-wrap').length ) {
51
52	      $('.project-wrap').each(function() {
53
54	        var self       = $(this);
55	        var filterNav  = self.find('.project-filter').find('a');
56
57	        var projectIsotope = function($selector){
58
59	          $selector.isotope({
60	            filter: '*',
61	            itemSelector: '.project-item',
62	            percentPosition: true,
63	            animationOptions: {
64	                duration: 750,
65	                easing: 'liniar',
66	                queue: false,
67	            }
68	          });
69
70	        }
71
72	        self.children().find('.isotope-container').imagesLoaded( function() {
73	          projectIsotope(self.children().find('.isotope-container'));
74	        });
75
76	        $(window).load(function(){
77	          projectIsotope(self.children().find('.isotope-container'));
78	        });
79
80	        filterNav.click(function(){
81	            var selector = $(this).attr('data-filter');
82	            filterNav.removeClass('active');
83	            $(this).addClass('active');
84
85	            self.find('.isotope-container').isotope({
86	                filter: selector,
87	                animationOptions: {
88	                    duration: 750,
89	                    easing: 'liniar',
90	                    queue: false,
91	                }
92	            });
93
94	            return false;
95
96	        });
97
98	      });
99
100	    }
101    };
102
103    var aThemesTeamSocial = function ($scope, $) {
104    	//Moves social bar inside image for aThemes: Employee - style 2
105  		$( '.roll-team.type-b.style2').find( '.team-item' ).each( function() {
106  			var socials = $(this).find( '.team-social' );
107  			socials.appendTo( $(this).find( '.team-inner') );
108  		});
109    };    
110
111
112    $(window).on('elementor/frontend/init', function () {
113        elementorFrontend.hooks.addAction('frontend/element_ready/athemes-testimonials.default', aThemesTestimonialsCarouselrun);
114        elementorFrontend.hooks.addAction('frontend/element_ready/athemes-posts.default', aThemesNewsCarouselrun);
115		elementorFrontend.hooks.addAction('frontend/element_ready/athemes-portfolio.default', aThemesIsotoperun);    
116		elementorFrontend.hooks.addAction('frontend/element_ready/athemes-employee.default', aThemesTeamSocial);    
117    });
118
119})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.