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 lipitor 80mg for sale <a href="https://lipiws.top/">lipitor 20mg pill</a> brand atorvastatin 10mg
Fhvwcf - 2 weeks
lipitor price <a href="https://lipiws.top/">buy generic atorvastatin</a> atorvastatin 40mg cost
Engror - 3 weeks

Powered by Linode.