A collection of static DOM helper and utility functions
getPosition: function(el)
Gets the position of a DOM element
gamvas.Vector2D
var el = document.getElementById('myelement'); var pos = gamvas.dom.getPosition(el); alert('myelement is at position '+pos.x+','+pos.y);