Javascript Reference
Categories: event

javascript event offsetX, offsetY

@Aug. 17, 2009, 9:42 a.m.
offsetX, offsetY Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a

 

Read-only

Provide the left and top coordinates of the mouse pointer relative to the containing element (exclusive of padding, borders, or margins) when the event fired. You can determine the containing element via the offsetParent property.

 
Example
 
if (evt.offsetX <= 20 && evt.offsetY <=40) {
    ...
}
 
Value

Integer pixel count.

 
Default

None.

buy acyclovir 800mg pills - <a href="https://aclovirzov.com/zyloprim/">buy allopurinol 300mg generic</a> crestor order online
Ylznlc - 2 months
cytotec 200mcg oral - <a href="https://cytenica.com/orlistat/">xenical order online</a> buy diltiazem 180mg generic
Wgajjm - 2 months
buy generic clarinex for sale - <a href="https://desloritin.com/">desloratadine medication</a> buy priligy pill
Lvqfub - 2 months

Powered by Linode.