moveElement Function


/ Published in: JavaScript
Save to your folder(s)

Description: JS function that moves an element.
Arguments: ID of the element to move, final x point, final y point, interval/speed (in milliseconds).

From book Dom Scripting by Jeremy Keith.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.