The slideTo method moves the control to a new location. The control moves in a non-linear fashion over the specified time period.
elementID.slideTo(newX, newY, moveTime)
Number (long) specifying the new value for the left attribute of the control.
Number (long) specifying the new value for the top attribute of the control.
Number (long) specifying the time, in milliseconds, that it takes for the control to move to its new location.
This method does not return a value.
This method is different from moveTo, which creates a linear motion when moving the control. The non-linear motion created by this method is a sliding motion that accelerates from a speed of zero at the beginning of the motion and decelerates back to zero at the end, coming to a smooth stop.
|Windows Media Player 11|