JavaScript Uzyskaj granicę

domRect = element.getBoundingClientRect();
Gogo