This test will perform a transitional animation moving a div from one position to another, while also scaling its dimensions. To begin click anywhere on the screen to begin drawing a rectangle, then move the mouse, dragging the rectangle into the desired shape and click again. Your second click will begin the animation.
Above are options you can use to modify the behavior: duration changes the time it takes for the animation to complete (in seconds), content is makeup of the container being animated, and easing is the YUI animation easing method to use.