TinyMCE:API/tinymce.dom.DOMUtils/getPos
From Moxiecode Documentation Wiki
Contents |
[edit]
Method: getPos
[edit]
Summary
Returns the absolute x, y position of a node. The position will be returned in a object with x, y fields.
[edit]
Syntax
<object> getPos(<Element/String> n)
[edit]
Parameters
- n
- HTML element or element id to get x, y position from.
[edit]
Returns
Absolute position of the specified element object with x, y fields.
