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_GetEventPos Function |
Gets the cursor position in page coordinates from the provided DOM event object.
Syntax
JavaScript
function eo_GetEventPos(e)
Parameters
- e
- The DOM event object.
Return Value
-
This function returns an object with two members, x and y that represent the X and Y positions.
Remarks
An element's position in window coordinates changes when the browser window scrolls because window coordinates is adjusted by the scroll offset. An element's position in page coordinates does not change when the browser window scrolls.
See Also