473,322 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

hw to detect occuring outside the document arae

shoonya
161 100+
suppose i am dragging an object
thn while keeping the mouse down i may take the pointer outside the document area i.e. status bar, menu bar
thn the object sticks to thw mouse
hw to detect the events then??

t
May 9 '07 #1
5 1253
iam_clint
1,208 Expert 1GB
check objects distance from the mouse.
May 9 '07 #2
pbmods
5,821 Expert 4TB
Heya, shoonya. Welcome to TSDN!

To a certain extent, you are very limited when it comes to mouse events. Even the script.aculo.us folks haven't figured out how to detect a mouseup outside of the window bounds.

The widest range you get is window (e.g., window.onmouseup=function(){doSomething();}). That gets you everything underneath the titlebar of your browser (plus or minus, depending on the browser). Outside of that, there's really nothing you can do.
May 10 '07 #3
shoonya
161 100+
Heya, shoonya. Welcome to TSDN!

To a certain extent, you are very limited when it comes to mouse events. Even the script.aculo.us folks haven't figured out how to detect a mouseup outside of the window bounds.

The widest range you get is window (e.g., window.onmouseup=function(){doSomething();}). That gets you everything underneath the titlebar of your browser (plus or minus, depending on the browser). Outside of that, there's really nothing you can do.
thnx a lot ...
but are you sure we can detect mouse events in satus bar??
May 10 '07 #4
pbmods
5,821 Expert 4TB
thnx a lot ...
but are you sure we can detect mouse events in satus bar??
I doubt it.

You might be able to 'force' the script to drop whatever the User is dragging when window.onmouseout fires, but no guarantees.
May 10 '07 #5
shoonya
161 100+
I doubt it.

You might be able to 'force' the script to drop whatever the User is dragging when window.onmouseout fires, but no guarantees.
-------------
:(
not working man...
it's only detecting when mouse is going out of the document area
but not when mouse pointer is down and then it is dragged out....
May 11 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: selowan | last post by:
Hi, In VB6 Pro SP5, I have a form that contains an MSFlexGrid and a few other textboxes and comboboxes. I am using the technique from MSDN article Q241355, which describes how to tab and edit in...
1
by: Mat | last post by:
How can I detect when a link has been clicked but the new page is still in the process of loading? The document.location.href property still displays the current location (understandably) not the...
1
by: Markus | last post by:
Hi, I am trying to query the value of a textfield outside of a form but with no success so far... the reason why I am not using a form is that there seams to be an annoying issue with hitting...
23
by: David McCulloch | last post by:
QUESTION-1: How can I detect if Norton Internet Security is blocking pop-ups? QUESTION-2a: How could I know if a particular JavaScript function has been declared? QUESTION-2b: How could I...
2
by: Yurij Nykon | last post by:
Hi all. How can I detect the version of Flash-Plugin installed in Internet Explorer? In Netscape i can do this with following java script navigator.plugins.description But it doesn't works...
23
by: Michel Bany | last post by:
I am trying to parse responseXML from an HTTP request. var doc = request.responseXML; var elements = doc.getElementsByTagName("*"); the last statement returns an empty collection when running from...
3
by: Asterbing | last post by:
Since the "on fly addition..." thread has taken another direction, I'm opening a new one to be more explicit and recenter the subject. Well, the subject is to detect when a document is well...
36
by: Don | last post by:
I wrote an app that alerts a user who attempts to open a file that the file is currently in use. It works fine except when the file is opened by Notepad. If a text file is opened, most computers...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.