I would like to smooth the chaining of some jquery.animate functions.
Here is a jsfiddle where I describe the problem : http://jsfiddle.net/xavier_seignard/KTxbb/4/
As you can see, there is a stop between each animation, even with the linear attribute.
Do you have any idea about how to smooth it? Or anything else that would do the trick?
Regards
I think you should just try out the jQuery Easing plugin - http://gsgd.co.uk/sandbox/jquery/easing/
Include the file and instead of "liner" add some other easing.
Is it the change in speed that you're describing?
That is because the animations have the same timings but the distance the square box is covering differs. You might need to alter the time for each animation dependant in the distance travelled.
You can change the speed for a more "fine" animation, you see that stop because the speed it's too fast and different size to cover:
Thats the problem with jsfiddle.. I tested your jsfiddle link and it was not looking great as you mentioned in your question.
But then I created new page on my pc and copied everything from your fiddle and checked it. It looks alright.
Copy and paste this and save it as html and test it :