Ensemble O Vos Omnes
22.08.24
—20.30 h
Église Saint Genis
");
return json_info[0];
}
function init_components_insta(instagrm_control){
var slickContainer = $(instagrm_control).children(".slick_instagram");
var helpLoaderInsta = $(instagrm_control).children(".helpLoaderInsta");
var titolInsta = $(instagrm_control).children(".titolInstagram");
var cols = $(slickContainer).attr("data-cols");
var format = $(slickContainer).attr("data-format");
if(format=="mur_social") {
$(slickContainer).slick(
{
infinite: true,
slidesToShow: parseInt(cols),
slidesToScroll: 1,
vertical:true,
verticalSwiping:true,
centerMode:false,
autoplaySpeed:5000,
autoplay:true,
arrows:false,
});
}
else {
$(slickContainer).slick(
{
lazyLoad: 'ondemand',
infinite: true,
slidesToShow: parseInt(cols),
slidesToScroll: 1,
vertical:false,
centerMode:false,
autoplaySpeed:5000,
autoplay:true,
arrows:true,
});
}
$(slickContainer).show();//mostrem l' slick
//$(helpLoaderInsta).hide();//amaguem el loader
$("[data-reveal]").foundation();//arrenquem el foundation
if($(titolInsta).length > 0)
{
$(titolInsta).show(); //mostrem el titol si n' hi ha
}
$(slickContainer).slick('setPosition');
}
//]]>