Returns the size or absolute position of the element in px including padding, margin and border.
getSize(el, type)
el HTML Element, element to evaluate
type string, size type
The element does not need to be absolutely positioned, but it absolution position is calculated. First parameter el is the element to be inspected (it can also be a jQuery object). Second parameter type can be one of the following: