Click to See Complete Forum and Search --> : how do i get the mouse location


pelegk1
08-10-2003, 07:48 AM
on the screen (the x,y coordinated)?

2) how do i put ,for example an image , on the screen in x,y position? (and if i wan t to hide it then on a very big x or y coordinate?

10x:)
peleg

Khalid Ali
08-10-2003, 09:21 AM
WHen mouse moves on the screen,mousemove event is triggered and you cancapture the event and get the x and y co-ordinates from it.

for ns its
event.clientX and event.clientY

for NS you will get the same results using

e.pageX and e.pageY