JavaScript and client side scripting.
Moderator: General Moderators
alexmaster_2004
Forum Commoner
Posts: 35 Joined: Wed Sep 14, 2005 8:44 am
Post
by alexmaster_2004 » Fri Sep 30, 2005 8:36 pm
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
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Sep 30, 2005 8:39 pm
onmousemove ... the coordinate information varies from browser to browser... at any rate, this isn't a php code question. Moved to Client Side .
n00b Saibot
DevNet Resident
Posts: 1452 Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:
Post
by n00b Saibot » Sat Oct 01, 2005 2:30 am
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