TinyMCE:API/tinymce.dom.DOMUtils/getPos

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Method: getPos

Summary

Returns the absolute x, y position of a node. The position will be returned in a object with x, y fields.

Syntax

<object> getPos(<Element/String> n)

Parameters

n
HTML element or element id to get x, y position from.

Returns

Absolute position of the specified element object with x, y fields.

Personal tools