i call that function when i want to start listening mousemove events. I only
call that function once

----- Original Message -----
From: "Lluis Casany" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 12:27 PM
Subject: RE: [Dynapi-Help] How I can get the x,y of the cursor on the
document?


thanks again but I'm not able to get it works.

I don't understand from where we call capturaEventos().

thanks in advance.


-----Mensaje original-----
De: Iván Rodríguez Murillo [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 07 de febrero de 2001 17:47
Para: [EMAIL PROTECTED]
Asunto: Re: [Dynapi-Help] How I can get the x,y of the cursor on the
document?


Example:

function capturaEventos() {

 escucha = new EventListener();

 escucha.onmousemove = function(e) {
  var x=e.x;
  var y=e.y;
  //status = x +', '+y;

  if(hombre.trackEvents) hombre.firemousemove(x,y);
  if(paranoiaTrackEvents) paranoia.onmousemove(x,y);
 };


 DynAPI.document.addEventListener(escucha);

}

----- Original Message -----
From: "Lluis Casany" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 5:35 PM
Subject: [Dynapi-Help] How I can get the x,y of the cursor on the document?


> hi there!
> i'm really new in the dynApi2.
>
> Please, someone can tell me how I can get the x and y position of the
cursor
> on the document.
>
> thanks in advance.
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to