Event.offsetY (Property)

The Y coordinate of the event relative to its containing object.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Number primitive
JavaScript syntax:IEmyEvent.offsetY

As you would expect, coordinate positions of the mouse are provided in mutually exclusive ways in Netscape and MSIE. This is the MSIE equivalent to the layer coordinate scheme in Netscape. Of course, MSIE does not have layers but they can be simulated by using arbitrary objects.

Warnings:

Property attributes:

ReadOnly.