To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.
See it run: Moving an Object in the Document
This HTML for the object moving example uses IDs to tag the elements we want to manipulate.
This CSS sets the initial positions of each object on the page.