Set of functions of general interest
- Source:
- ajs.js, line 128
Methods
-
<static> getMaxZindex() → {Number}
Gets the maximum z-index in the document.
-
- Source:
- ajs.js, line 184
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:
- ajs.js, line 144
Returns:
Viewport coordinates- Type
- Object
Example
// returned object {'width':width, 'height':height, 'left':left, 'top':top, 'cX':cX, 'cY':cY}