mattquantic
Programmer
Hi. Is it possible to establish if the mouse is still within the confines of a browser window.
I have a dragable layer and it works fine with draging when the mouse is down and stopping whern the mouse is up.
But, if you keep the mouse down and then drag the mouse all of the way out of the window the layer move to the edge but when the mouse goes back within the window the system still thinks the mouse is down and keeps draging.
I have a script being called every 100ms. Can I put something in there to say if the mouse is no longer within the browser window to call the stop drag function?
M@)
I have a dragable layer and it works fine with draging when the mouse is down and stopping whern the mouse is up.
But, if you keep the mouse down and then drag the mouse all of the way out of the window the layer move to the edge but when the mouse goes back within the window the system still thinks the mouse is down and keeps draging.
I have a script being called every 100ms. Can I put something in there to say if the mouse is no longer within the browser window to call the stop drag function?
M@)