0

does anyone know how to modify this code, so it will animate a slide effect?

$('.carouselNext').click(function() {
    var pos = $('.carouselOut').scrollLeft() + 192;
    $('.carouselOut').scrollLeft(pos);
});

I hope someone can help me :)

Calum
  • 1,889
  • 2
  • 18
  • 36
krunos
  • 163
  • 1
  • 9
  • Do you have any error? What problem are you facing? What is happening and what are you expecting? – D4V1D Sep 20 '15 at 15:17
  • the animate marginleft, is not working, when the div is no longer it just keeps going on and on... – krunos Sep 20 '15 at 15:33
  • there is no problems, well the only problem is, don't know hos to make it animate scrollLeft.. :/ – krunos Sep 20 '15 at 15:34

0 Answers0