Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MouseMove

4 views
Skip to first unread message

Chris Matthews

unread,
Oct 13, 1997, 3:00:00 AM10/13/97
to

Hey--- What happened to the MouseMove event for VBScript with IE4???????

Ron Wodaski

unread,
Oct 14, 1997, 3:00:00 AM10/14/97
to

It's right there: onMouseMove:

onmousemove
----------------------------------------------------------------------------
----
Description
Fires when the user moves the mouse.

Remarks
The event ordering for moving the mouse is:
onmouseover
onmousemove
onmouseout
This event will bubble. Events that bubble can be handled on any parent
element of the object that fired the event.

Applies To
A, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER,
CITE, CODE, DD, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, H1,
H2, H3, H4, H5, H6, HR, I, IMG, INPUT, KBD, LABEL, LEGEND, LI, LISTING, MAP,
MARQUEE, MENU, OL, P, PLAINTEXT, PRE, S, SAMP, SELECT, SMALL, SPAN, STRIKE,
STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U,
UL, VAR, XMP, document

See Also
onmousedown, onmouseup


--
Ron Wodaski - Desktop Systems MVP
Check out a tutorial that explains channels and Dynamic HTML:
http://www.microsoft.com/workshop/prog/ie4/channels/tutorial/web3.cdf

Chris Matthews wrote in message <01bcd836$98556c60$f664a8c0@Ppayroll5>...

Chris Matthews

unread,
Oct 14, 1997, 3:00:00 AM10/14/97
to

Tried onMouseMove... MSIE3 uses "MouseMove" and works fine. MSIE4 does
not call the Sub using either the "MouseMove" or "onMouseMove" event...
"OnClick" still works, but it seems as if none of the Mouse events work
(Tried "onMouseOver" as well)

Ron Wodaski <ro...@spamfree.com> wrote in article
<OGHl87K...@uppssnewspub05.moswest.msn.net>...


> It's right there: onMouseMove:
>
> onmousemove
>
----------------------------------------------------------------------------

> ----
> Description
> Fires when the user moves the mouse.
>
> Remarks
> The event ordering for moving the mouse is:
> onmouseover
> onmousemove
> onmouseout
>

Chris Pels

unread,
Oct 14, 1997, 3:00:00 AM10/14/97
to

We are using OnMouseOver() just fine. Can you post the code where you are
defining the event handler?

Chris Pels

Chris Matthews wrote in message <01bcd8bc$2dd953c0$f664a8c0@chrism>...

Erik Arvidsson

unread,
Oct 15, 1997, 3:00:00 AM10/15/97
to

The way to catch the event has changed a little but not much.
The function is now called
function document.onmousemove() {

...
lastx = window.event.x;
lasty = window.event.y;
...
}

as you can see there are no arguments to the function but these value are
properties of the event object. Hope you can translate this to vbs.
Hope this helped...

/erik

0 new messages