javascript - Use animate to make an object go through fixed xs and ys -
i'm generating in function x , y , generation looped moment. wonder use .animate() in order move object 1 point, defined x , y pairs, another. far i've this:
while(condition){ x=formula...; y=formula...; }
i have image #ball{top: , left: } i'd move 1 (x;y) next one, till third, fourth , on end. know can .css() if can done .animate i'll prefer it. know question sort of dumb 1 lack knowledge how particular function, so... i'm looking forward answers. :)
Comments
Post a Comment