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 amoxil generic - <a href="https://combamoxi.com/ipratropium/">buy ipratropium 100 mcg online</a> order combivent 100 mcg
Yedahd - 1 weeks
order accutane 40mg sale - <a href="https://isotadron.com/linezolid/">order zyvox 600mg for sale</a> cost zyvox 600 mg
Raxwgv - 1 weeks
deltasone 20mg oral - <a href="https://starlisone.com/">buy prednisone cheap</a> capoten 120mg canada
Wfjhfd - 2 weeks

Powered by Linode.