Looking for a way to enhance the user experience of my shopping cart on Android and iPhone/iPod, I want to implement a feature similar to the iTunes Store where the price flies down to the total when a purchase is made. Since I use jQuery (not UI) on this site, I need something lightweight. Any suggestions?
I specifically need text to smoothly move from one position to another. I have managed to determine the initial and final positions using the following code:
var p = $("#"+item).find("small");
var position = p.position();
alert("left: " + position.left + ", top: " + position.top );
var p = $(".total");
var position = p.position();
alert("left: " + position.left + ", top: " + position.top );
Next step is figuring out how to animate the movement of text from point A to point B.