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+)

X and Y Event Properties (IE4+)


Click on the button and in the DIV/image to see the coordinate values for the event object.

Continued (IE) event.clientX
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.

Leave a Reply


IE Mouse Event Coordinates:
srcElement:
clientX, clientY: …With scrolling: