Re: ONMOUSEOVER vs. ONMOUSEMOVE

Walter Ian Kaye (walter@natural-innovations.com)
Tue, 9 Sep 1997 03:31:06 -0700


Message-Id: <v03102801b03ad4162213@[205.149.180.135]>
In-Reply-To: <Pine.SOL.3.95.970909200828.20672D-100000@siili>
Date: Tue, 9 Sep 1997 03:31:06 -0700
To: www-html@w3.org
From: Walter Ian Kaye <walter@natural-innovations.com>
Subject: Re: ONMOUSEOVER vs. ONMOUSEMOVE

At 8:10p +1000 09/09/97, Alexandre Rafalovitch wrote:
 > On Tue, 9 Sep 1997, Arnaud Le Hors wrote:
 >
 > > 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)?

There is, in fact, an onMouseOut event. There was a browser incompatibility
problem when IE3 implemented JavaScript, as it's behavior differed from that
of Navigator. I had been using an onMouseOver for links to show help text in
the status bar at the bottom of the window; Navigator automatically clears
the status bar when you move the mouse off the link, but Explorer leaves the
text in the status bar unless you put in explicit onMouseOut's to clear it.
I had to update several of my pages to deal with this, er, "anomaly".

__________________________________________________________________________
  Walter Ian Kaye <boo_at_best*com>    Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML
 http://www.natural-innovations.com/     Musician - Guitarist, Songwriter