Event.offsetX (Property)

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


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

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.


Property attributes: