Web hosting packages - CD-547Appendix F . Examples from Parts III and
CD-547Appendix F . Examples from Parts III and IV Example Listing 29-14 provides readings of all event coordinate properties in an interactive way. An onMouseDown event handler triggers all event handling, and you can click the mouse anywhere on the page to see what happens. You see the tag of the element targeted by the mouse event to help you visualize how some of the coordinate properties are determined. An image is encased inside a positioned DIV element to help you see what happens to some of the properties when the event is targeted inside a positioned element. Listing 29-14: IE4+ Event Coordinate Properties
X and Y Event Properties (IE4+)
Click on the button and in the DIV/image to see the coordinate values for the event object.