eo_ShowPopup Function

Displays a popup.

Syntax
JavaScript
 function eo_ShowPopup(element, anchor, corner, offsetX, offsetY)

Parameters

element
The element to be displayed as a popup.
anchor
An anchor object to which element's position is derived from.
corner
A number specifying which corner element should be aligned to. 0 - left top corner; 1 - top right corner; 2 - left bottom corner; 3 - bottom right corner.
offsetX
Additional horizontal offset.
offsetY
Additional vertical offset.
Remarks

Use this function to absolute position an element based on another element's position. The element is displayed as a "popup" which means it closes when mouse clicks outside of the element.

This function is provided by EO.Web navigational controls. It's available only when there is at least one EO.Web navigational control in the page.

See Also