jquery - JavaScript animation is never executed -


pretty simple sliding animation, when click tallarrowsright div, nothing happens. looking on obvious?

$(document).ready(function(){     var = 3;     var current = 1;      $(".tallarrowsright").click(function(){         if(current<all){             $(".slideme").animate({left:"-=1000"},500)             current = current+1            }     }) 

i believe it's not animation problem, css issue. try add position:relative .slideme

working code here

just click "basic plunk!" :)


Popular posts from this blog