Name
x, y — NN 4 IE n/a DOM n/a
Synopsis
Read-only
The horizontal and vertical pixel coordinates of the top-left corner
of the image relative to the page. These are Navigator-only
properties, corresponding to the offsetLeft
and
offsetTop
properties of Internet Explorer 4.
Example
var imageFromTop = document.logoImg.y
Value
Integer.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.