Re: retrieving mouse coords
Uudisteagentuur <[email protected]> Wed, 27 Apr 2022 06:42:56 -0700 (PDT)
| Newsgroups | alt.comp.lang.javascript |
|---|---|
| Message-ID | <[email protected]> |
Mike kirjutas Esmasp=C3=A4ev, 31. jaanuar 2011 kl 17:27:59 UTC+1:
> I am using this:
> <img onClick=3D"ScanMap(event);" src......>
> my function:
> <script language=3D"JavaScript1.2">
> function ScanMap(Evnt) {
> alert(Evnt.screenX);
> }
> </script>
> Is there a problem in any browsers with this? It appears to work for
> me in IE, Opr, old Netscape, old Firefox.
> Mike
I guess, there could be differences in different browsers.
Kristjan