MooTools getPosition, getCoordinates
getPosition
$('box1').getPosition();Returns:x: 100,
y: 500getCoordinates
$('box1').getCoordinates();Returns:top: 50,
left: 100,
width: 200,
height: 300,
right: 300,
bottom: 350
$('box1').getPosition();Returns:x: 100,
y: 500$('box1').getCoordinates();Returns:top: 50,
left: 100,
width: 200,
height: 300,
right: 300,
bottom: 350