This demonstrates how to animate the position of an element along a curve.
curve
Click anywhere to move the element to your click position.