Darkens the background and prevents the user from scrolling the document.
DiviArea.hideOverlay() to undo all the effects of this function.
- no Params
The function does not return anything.
// Hide the overlay. DiviArea.showOverlay();
When the user clicks on the overlay, and a Popup-Area is visible, the top-most Popup will be hidden. In this case, the overlay will be also hidden, unless there is another visible Popup.
However, when no Popup is visible, clicking the overlay will have no effect.
The overlay is positioned behind all Popup Areas and in front of any other Area type.