Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detecting mouseup ouside window

Status
Not open for further replies.

y2k1981

Programmer
Aug 2, 2002
773
0
0
IE
is it possible to detect a mouseup outside of the body, ie when the user brings the mouse up towards the toolbar? I'm creating a movable div and have tried several different options but none provide exactly what I need. I've tired event.clientX < 0 and I've tired adding an onmouseout to the bodytag but it's getting called every time I put the mouse over the div instead of just every time the mouse leaves the window. I can't understand this as this would actually suffice if it were only called when the mouse leaves the window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top