javascript layer moveBy( )
@March 15, 2008, 1:22 a.m.
moveBy( ) | NN |4| IE n/a Chrome/Safari/DOM n/a |
moveBy(deltaX, deltaY) | |
A convenience method that shifts the location of the current element by specified pixel amounts along both axes. To shift along only one axis, set the other value to zero. Positive values for deltaX shift the element to the right; negative values to the left. Positive values for deltaY shift the element downward; negative values upward. This method comes in handy for path animation under the control of a setInterval( ) or setTimeout( ) method that moves the element in a linear path over time. |
|
Parameters | |
|
|
Returned Value | |
None. |
Permanent URL:
http://javascript.gakaa.com/layer-moveby-4-0-5-.aspx
Powered by Linode.