Re: ONMOUSEOVER vs. ONMOUSEMOVE
Alexandre Rafalovitch (arafalov@socs.uts.EDU.AU)
Tue, 9 Sep 1997 20:10:32 +1000 (EST)
Date: Tue, 9 Sep 1997 20:10:32 +1000 (EST)
From: Alexandre Rafalovitch <arafalov@socs.uts.EDU.AU>
To: www-html@w3.org
In-Reply-To: <341512E6.EEB2E040@w3.org>
Message-ID: <Pine.SOL.3.95.970909200828.20672D-100000@siili>
Subject: Re: ONMOUSEOVER vs. ONMOUSEMOVE
On Tue, 9 Sep 1997, Arnaud Le Hors wrote:
> E. Stephen Mack wrote:
> >
> > In the HTML 4.0 draft for scripts [1], there is this description
> > of two intrinsic events:
> >
> > >onmouseover = script
> > > The onmouseover event occurs when the pointing device is moved over
> > > an element. This attribute may be used with most elements.
> >
> > The description of onmousemove, directly afterwards, is identical:
> >
> > >onmousemove = script
> > > The onmousemove event occurs when the pointing device is moved over
> > > an element. This attribute may be used with most elements.
> >
> > Is there any semantic difference between these two events? If not, the
> > spec should say so, and I wonder why both events are included. If there
> > is a different, the spec should define it.
> >
> > [1] scripts.html#h-9.2.1.4
>
> You're right this is confusing. I changed this to:
>
> The onmouseover event occurs when the pointing device gets over an
> element. This attribute may be used with most elements.
>
> The onmousemove event occurs when the pointing device is moved while it
> is over an element. This attribute may be used with most elements.
>
So onmouseover is like mouseEnter? What about mouseExit then? Can you
explain the sequence of events you expect an element will get when a mouse
is just passing over it (as in enter at one end and leave at another)?
Confused,
Alex.