Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

On this page

getAbsolute

Summary

Get the absolute position of an element.

Syntax

keyman.util.getAbsolute(Pelem);

Parameters

Pelem
Type: Element
An HTML element.

Return Value

Object
An object with two number properties (x and y) corresponding to the specified element's absolute position on the page.

Description

See also: keyman.util.getAbsoluteX(), keyman.util.getAbsoluteY()