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.

order baclofen 10mg for sale - <a href="https://baclion.com/">purchase baclofen generic</a> purchase feldene generic
Lsfrub - 8 hours
buy cheap generic diclofenac - <a href="https://vovetosa.com/">voveran cheap</a> nimotop without prescription
Ksrhlb - 5 days
order mestinon 60mg online cheap - <a href="https://mestonsx.com/azathioprine/">buy imuran no prescription</a> buy imuran 50mg online
Laynto - 6 days

Powered by Linode.