OH yeah, works most excellent, thanks!

M.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Richard
Bennett
Sent: Wednesday, January 24, 2001 2:46 AM
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Help] MouseEvents in NS6


hi,
I'm not sure about NS6, but if I remember correctly you would normally do:
   mouseX = e.getPageX();
   mouseY = e.getPageY();
instead of:
   mouseX = e.getX();
   mouseY = e.getY();
otherwise the mouseX and mouseY variables take the value relative to the
link, or relative to the document, depending how the event bubbles through,
causing jumping around.
(I haven't tested this)
Isn't mouseX a reserved word sometimes?

Cheers,
Richard Bennett

[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)

----- Original Message -----
From: "Matthew Alan Shirey" <[EMAIL PROTECTED]>
To: "Dynapi-Help" <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 7:27 AM
Subject: [Dynapi-Help] MouseEvents in NS6


> Hey all, having a small problem in NS6 with the onmousemove event but I
may
> simply be setting the page up wrong.
>
> Does anyone have some good example of mouse events?  Specifically events
> with multiple overlapping layers, text, and returning the mouse position?
I
> am having a really hard time explaining my problem.  I am wondering if I
> simply need to do more reading.
>
> If anyone would mind taking a look.  Use IE to see what it is supposed to
> do, then take a look with NS6 to see the problem...
>
> http://bridgedev.ctlt.wsu.edu/LS/test/notebook/mockup1.asp
>
>
> It's basically a popup over a hyperlink.  Something I have seen before and
> was trying to create.
>
> Any help would be greatly appreciated.
>
> M.
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
> ____________________________________________________________
> Get your free domain name and domain-based e-mail from
> Namezero.com. New!  Namezero Plus domains now available.
> Find out more at: http://www.namezero.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

Reply via email to