I was wondering if this slider could be responsive at all? This slider works fine as uses a nice way to slide with css. I just need to make it responsive.
Currently shows only 6 images but I need to make it to 4 when the width
is 780px;
I'm not sure I can make it working with my poor knowledge.
$('.items > .item', $container).each(function (i){
if (i % 6 == 0) {
$(this).nextAll().andSelf().slice(0, 6).wrapAll('<div class="wrap fadeIn"></div>');
}
else (i % 4 == 0){
var $window = $(window);
$window.resize(function resize() {
if ($window.width() < 768) {
$(this).nextAll().andSelf().slice(0, 4).wrapAll('<div class="wrap fadeIn"></div>');
}
});
}
});