Greetings!
I'm at the moment stuck with something that would be very trivial, but, since I'm not that versed in jQuery and Zepto I can't figure out a way to solve it.
I need to animate a slider
With jQuery everything works fine
$('.slider').animate({
left: '-=1024px'
},500);
}
But with Zepto, as it doesn't supports the '+=' property, it only slides the first two images!
$('.slider').anim({
translate3d: '-1024px,0px,0px'
},1,'linear');
}
Can I have some help / directions ?
Thank you!