(function(){
var porto_inc_slick_js = function() {
( function( $ ) {
if ( $.fn.slick ) {
$('.porto-carousel-5850090276af79249bef72').slick({dots: true,autoplay: true,autoplaySpeed: 5000,speed: 300,infinite: true,arrows: false,slidesToScroll:4,slidesToShow:4,swipe: true,draggable: true,touchMove: true,pauseOnHover: true,responsive: [
{
breakpoint: 1025,
settings: {
slidesToShow: 4,
slidesToScroll: 4,
}
},
{
breakpoint: 769,
settings: {
slidesToShow: 3,
slidesToScroll: 3
}
},
{
breakpoint: 481,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
}
],pauseOnDotsHover: true,customPaging: function(slider, i) {
return '
';
},});
} else {
var c = document.createElement("script");
c.src = "https://www.optimiz-group-evenementiel.fr/wp-content/themes/porto/js/libs/jquery.slick.min.js";
if (!$('script[src="' + c.src + '"]').length) {
document.getElementsByTagName("body")[0].appendChild(c);
}
c = document.createElement("script");
c.src = "https://www.optimiz-group-evenementiel.fr/wp-content/plugins/porto-functionality/shortcodes/assets/js/ultimate-carousel-loader.min.js";
if (!$('script[src="' + c.src + '"]').length) {
document.getElementsByTagName("body")[0].appendChild(c);
}
setTimeout(function() {
if ($.fn.slick) { $('.porto-carousel-5850090276af79249bef72').slick({dots: true,autoplay: true,autoplaySpeed: 5000,speed: 300,infinite: true,arrows: false,slidesToScroll:4,slidesToShow:4,swipe: true,draggable: true,touchMove: true,pauseOnHover: true,responsive: [
{
breakpoint: 1025,
settings: {
slidesToShow: 4,
slidesToScroll: 4,
}
},
{
breakpoint: 769,
settings: {
slidesToShow: 3,
slidesToScroll: 3
}
},
{
breakpoint: 481,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
}
],pauseOnDotsHover: true,customPaging: function(slider, i) {
return '
';
},}); }
}, 300);
}
} )( jQuery );
};
if ( window.theme && theme.isLoaded ) {
porto_inc_slick_js();
} else {
window.addEventListener( 'load', porto_inc_slick_js );
}
})();