YUI recommends YUI 3.
YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.
Clicking the button will use Dom's getXY
method to get the position of the red element and pass it to the setXY
method, which will move the blue element to that position.