Namespace: shared

ajs. shared

Set of functions of general interest

Source:
  • ajs.js, line 129

Methods

<static> getMaxZindex

Gets the maximum z-index in the document.

Source:
  • ajs.js, line 185
Returns:
The maximum z-index
Type
Number

<static> getViewport

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

Source:
  • ajs.js, line 145
Returns:
Viewport coordinates
Type
Object
Example
     // returned object
	{'width':width, 'height':height, 'left':left, 'top':top, 'cX':cX, 'cY':cY}