JS Functions

DiviArea.removeAction()

Removes a previously registered action hook.

DiviArea.Core.focusArea()

Add the focus-state to an area and activate/initialize that Area.

DiviArea.Data.loopVisibleAreas()

Loop all visible Areas of the given type and execute the callback for them.

DiviArea.Hooks.addAction()

This is an alias of DiviArea.addAction().

DiviArea.Utils.toBool()

Utility that tests, if a value equals to boolean true. See below for a list of values that are considered...

DiviArea.hideOverlay()

Removes the background overlay and re-enables scrolling.

DiviArea.Core.reOrderAreas()

Sets the z-index of all Areas, including the modal overlay.

DiviArea.getOverlay()

Returns the jQuery element of the modal overlay.

DiviAreaItem.addActionOnce()

Same as addAction, but the callback is only called once and then is unhooked again

DiviArea.Data.getVisibleArea()

Returns either the top-most visible Area, or the Area with the given ID.