W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

Determining coords of Event relative to start of Document

From: ValerieGSharp <ValerieGSharp@netscapeonline.co.uk>
Date: Sat, 01 Jul 2000 17:47:18 +0100
Message-ID: <395E2096.4F7253E2@netscapeonline.co.uk>
To: www-dom@w3.org
DOM2 doesn't appear to provide any method for determining the position
of an event relative to the start of a document, when the page has been
scrolled.

Netscape used a pageX/YOffset property, and Mozilla is implementing this
too.

MSIE uses the scrollTop property.

(And does anyone know what, if anything, Opera's using...?)

Will/can the DOM provide a standard for accessing this basic data,
because if browsers provide differing proprietory properties for this
data (as is happening right now), then we've immediately lost
cross-browser compatibility.

Regards,
Val Sharp - Edinburgh
Received on Saturday, 1 July 2000 12:51:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT