Namespace: ajs.shared

ajs. shared

Set of functions of general interest

Source:

Methods

<static> getMaxZindex() → {Number}

Gets the maximum z-index in the document.

Source:
Returns:
The maximum z-index
Type
Number

<static> getViewport() → {Object}

Gets the viewport coordinates of the current window (width, height, left offest, top offset, coordinates of the center point).

Source:
Returns:
Viewport coordinates
Type
Object
Example
     // returned object
	{'width':width, 'height':height, 'left':left, 'top':top, 'cX':cX, 'cY':cY}