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 promethazine online - <a href="https://prometacin.com/asciprofloxacin/">buy generic ciplox 500 mg</a> lincomycin 500 mg price
Lnowbk - 4 days
where can i buy ivermectin - <a href="https://ivercand.com/carbamazepine/">buy generic carbamazepine over the counter</a> order carbamazepine 200mg for sale
Xujeif - 1 weeks
order generic modafinil 100mg - <a href="https://provicef.com/cefadroxil/">order cefadroxil without prescription</a> purchase epivir sale
Ojqkwc - 1 weeks

Powered by Linode.