javascript event clientX, clientY
@June 30, 2008, 6:56 p.m.
clientX, clientY | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 2 |
Read-only | |
Indicate the horizontal (x) and vertical (y) coordinate of the mouse at the moment the current event fired. These coordinates are relative to the viewable document area of the browser window or frame. To convert these coordinates to the document's in IE, be sure to add the body element's scroll values (or html element's scroll values in IE 6 standards-compatible mode). For Netscape 6, the pageX and pageY properties provide coordinates in the document's space. |
|
Example | |
if ((evt.clientX >= 10 && evt.clientX <= 20) && (evt.clientY >= 50 && evt.clientY <= 100)) { // process code for click in hot zone bounded by 10,50 and 20,100 } |
|
Value | |
Integer of pixel values. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/event-clientx-2-0-clienty.aspx
acyclovir 800mg drug - <a href="https://aclovirzov.com/zyloprim/">where can i buy allopurinol</a> order rosuvastatin 20mg pill
Fvaygr
- 2 months
cytotec where to buy - <a href="https://cytenica.com/orlistat/">order orlistat 60mg generic</a> how to get diltiazem without a prescription
Dpoqvi
- 2 months
desloratadine where to buy - <a href="https://desloritin.com/">buy generic desloratadine over the counter</a> buy dapoxetine generic
Lvckrx
- 2 months
Powered by Linode.