Diario del Yaqui - PSICOLOGIA DE LA MODA
PUBLICIDAD
PUBLICIDAD
loultimo: function (element) {
$.get("/loultimo")
.done(function (data) {
$("#loultimo").replaceWith(data);
$('.news-carousel').slick({
arrows: false,
dots: false,
lazyLoad: 'ondemand',
slidesToShow: 1,
centerMode: true,
responsive: [
{
breakpoint: 960,
settings: {
slidesToShow: 1,
centerPadding: '220px'
}
},
{
breakpoint: 768,
settings: {
slidesToShow: 1,
centerPadding: '120px'
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 1,
centerPadding: '20px'
}
}
]
});
var myLazyLoad = new LazyLoad({
elements_selector: ".lazy",
threshold: 0
});
});
}