mouse cursor position

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
alexmaster_2004
Forum Commoner
Posts: 35
Joined: Wed Sep 14, 2005 8:44 am

mouse cursor position

Post by alexmaster_2004 »

Hi
i want to know how i can get the mouse cursor position?
also want to know what is the event that fires when the position changes?
so i can use that event to change the image that the page show.

hope anyone can help me...
Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

onmousemove ... the coordinate information varies from browser to browser... at any rate, this isn't a php code question. Moved to Client Side.
alexmaster_2004
Forum Commoner
Posts: 35
Joined: Wed Sep 14, 2005 8:44 am

Post by alexmaster_2004 »

hi
thanks.
but what about using IE5+
thanks in advance
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

alexmaster_2004 wrote:hi
thanks.
but what about using IE5+
thanks in advance
this applies to all
and the coordinates are given by properties event.x and event.y
Post Reply