Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Change the Cursor/Mouse Location


  • From: javascript@xxxxxxxxxx (javascript@xxxxxxxxxx)
  • Subject: [Javascript] Change the Cursor/Mouse Location
  • Date: Wed, 27 Mar 2002 13:14:31 -0500

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1D5BB.3D848460
Content-Type: text/plain

I have a kiosk application (fixed screen 800x600, no scrolling), that
displays a div with a fixed position when an image map is selected.  In the
new div, there are a series of images that use onmouseover and onmouseout to
chagne the image display.  The problem I have is that the prior div (with
the image map) leaves the cursor sitting over one of the mousovers when the
new div loads.  I need to programattically move the cursor to a location
where it is not hovering over an image when the new div loads.

I know how I can track where the mouse is with the MOUSEMOVE event.  Is
there any way for me to change where the is through JavaScript?

-Stephen

------_=_NextPart_001_01C1D5BB.3D848460
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Change the Cursor/Mouse Location</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have a kiosk application (fixed =
screen 800x600, no scrolling), that displays a div with a fixed =
position when an image map is selected.&nbsp; In the new div, there are =
a series of images that use onmouseover and onmouseout to chagne the =
image display.&nbsp; The problem I have is that the prior div (with the =
image map) leaves the cursor sitting over one of the mousovers when the =
new div loads.&nbsp; I need to programattically move the cursor to a =
location where it is not hovering over an image when the new div =
loads.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I know how I can track where the mouse =
is with the MOUSEMOVE event.&nbsp; Is there any way for me to change =
where the is through JavaScript?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">-Stephen</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1D5BB.3D848460--