Function getRect object getRect(DomElement a_element) Calculates the position and size of the DOM element in absolute window coordinates. Source file fcf:fcf.js Namespace fcf Arguments: DomElement a_element - DOM element Return value: object

Returns an object with information about the element's DOM position in the browser window. The object has the following fields

  • Number left
  • Number right
  • Number top
  • Number bottom
  • Number width
  • Number height