JS Functions

DiviArea.Utils.getCookie()

Return the value of a cookie.

DiviArea.Data.loopVisibleAreas()

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

DiviArea.Data.getAllIds()

Returns a list of available Area-IDs

DiviArea.Data.loopAllAreas()

Invoke a callback on all Areas of a given type

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

DiviArea.Core.detachArea()

Remove the given area from the current list of visible Areas.

DiviArea.Hooks.doAction()

This is an alias of DiviArea.doAction().

DiviArea.listAreas()

Returns an array of all area IDs (including eventual alternate IDs) that match the given filter. Params Returns Array of...

DiviArea.removeFilter()

Removes a previously registered filter hook.

DiviArea.Debug.info()

Output info in the JS console, when JS debugging is enabled