Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- JavaScript API Reference
- EO.Web
- EO.Web
- Objects
- Global Functions
- Global Functions
- eo_Callback
- eo_CancelBubble
- eo_CancelEvent
- eo_DateToString
- eo_FormatString
- eo_GetContainer
- eo_GetEventPos
- eo_GetNavigatorEventInfo
- eo_GetObject
- eo_HideAllPopups
- eo_MsgBox
- eo_RegisterDragTarget
- eo_SetComboBoxValue
- eo_ShowContextMenu
- eo_ShowPopup
- eo_ShowPopupCalendar
- eo_StringToDate
- eo_TriggerServerEvent
- eo_UnregisterDragTarget
- Event Handlers
- EO.WebEngine
- EO.Web
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