Duffer Derek
(function ($) {
var aThemesTeamCarouselrun = function ($scope, $) {
if ( $().owlCarouselFork ) {
$(".roll-team:not(.roll-team.no-carousel)").owlCarouselFork({
navigation : false,
pagination: true,
responsive: true,
items: 3,
itemsDesktopSmall: [1400,3],
itemsTablet:[970,2],
itemsTabletSmall: [600,1],
itemsMobile: [360,1],
touchDrag: true,
mouseDrag: true,
autoHeight: false,
autoPlay: false,
}); // end owlCarouselFork
} // end if
};
var aThemesTestimonialsCarouselrun = function ($scope, $) {
if ( $().owlCarouselFork ) {
$('.roll-testimonials').not('.owl-carousel').owlCarouselFork({
navigation : false,
pagination: true,
responsive: true,
items: 1,
itemsDesktop: [3000,1],
itemsDesktopSmall: [1400,1],
itemsTablet:[970,1],
itemsTabletSmall: [600,1],
itemsMobile: [360,1],
touchDrag: true,
mouseDrag: true,
autoHeight: true,
autoPlay: $('.roll-testimonials').data('autoplay')
});
}
};
var aThemesNewsCarouselrun = function ($scope, $) {
if ( $().owlCarouselFork ) {
$(".panel-grid-cell .latest-news-wrapper").owlCarouselFork({
navigation : false,
pagination: true,
responsive: true,
items: 3,
itemsDesktopSmall: [1400,3],
itemsTablet:[970,2],
itemsTabletSmall: [600,1],
itemsMobile: [360,1],
touchDrag: true,
mouseDrag: true,
autoHeight: false,
autoPlay: false
}); // end owlCarouselFork
} // end if
};
$(window).on('elementor/frontend/init', function () {
elementorFrontend.hooks.addAction('frontend/element_ready/athemes-testimonials.default', aThemesTestimonialsCarouselrun);
elementorFrontend.hooks.addAction('frontend/element_ready/athemes-posts.default', aThemesNewsCarouselrun);
elementorFrontend.hooks.addAction('frontend/element_ready/athemes-employee-carousel.default', aThemesTeamCarouselrun);
});
})(jQuery);
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists