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

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

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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC