Click to See Complete Forum and Search --> : Catching coordinates when mouse is pressed
jim_cool
September 29th, 2005, 01:39 AM
hi all
is there any way in Java Script to catch coordinates where the mouse was pressed.
actually i want to catch whether x button of explorer window was clicked or not since i do not want to use onUnload event.
plz help me.
waiting for reply
bye.
PeejAvery
September 29th, 2005, 11:54 AM
actually i want to catch whether x button of explorer window was clicked or not since i do not want to use onUnload event.
Can't be done. You need window messages which can't be done in JavaScript.
gilly914
September 29th, 2005, 07:02 PM
There is a way to find out the coordinates of the mouse while the mouse button was pressed, but not on the explorer window.
It can only be checked within the boundaries of the webpage.
PeejAvery
September 29th, 2005, 07:36 PM
There is a way to find out the coordinates of the mouse while the mouse button was pressed, but not on the explorer window.
It can only be checked within the boundaries of the webpage.
But he needs the close button. This requires window messages.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.