Page 1 of 1

mouse cursor position

Posted: Fri Sep 30, 2005 8:36 pm
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

Posted: Fri Sep 30, 2005 8:39 pm
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.

Posted: Fri Sep 30, 2005 8:43 pm
by alexmaster_2004
hi
thanks.
but what about using IE5+
thanks in advance

Posted: Sat Oct 01, 2005 2:30 am
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