Re: How to invoke clientx and clientx?

David Balch <david.balch@fassoc.co.uk> wrote:

> Mozilla:
> document.mousetest.mousexy.value = ev.clientX

This is indeed the standard DOM way of reading it. Lack of browser
support is another issue - which browsers are you concerned with?

Note that clientX isn't generally especially useful unless you happen to
know that your page hasn't been scrolled. Quite why a screen-relative
and window-relative position were included in DOM events but not a
page-relative one (which is the one useful to web page authors 99% of
the time) is quite beyond me.

-- 
Andrew Clover
Technical Consultant
1VALUE.com AG

Received on Friday, 5 October 2001 11:37:18 UTC