Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #18290 > unrolled thread

Event Listeners Outside Of Browser?

Started bydman777 <darin.hensley@gmail.com>
First post2013-01-28 21:00 -0800
Last post2013-01-29 21:30 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.javascript


Contents

  Event Listeners Outside Of Browser? dman777 <darin.hensley@gmail.com> - 2013-01-28 21:00 -0800
    Re: Event Listeners Outside Of Browser? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-01-29 21:30 +0100

#18290 — Event Listeners Outside Of Browser?

Fromdman777 <darin.hensley@gmail.com>
Date2013-01-28 21:00 -0800
SubjectEvent Listeners Outside Of Browser?
Message-ID<b14b6bf3-687e-40ab-b794-f11dd3c373d4@googlegroups.com>
I recently made a scrollbar in javascript to replace the browsers default scrollbar. However, I noticed on the default browser scrollbar if a user mouse downs and hold it, moves the mouse out of the web browser to right, they can still control the scrollbar until they mouse up.

 What I don't understand is how this is accomplished since event listeners can not listen out side of the browser itself. How is this done and how can I do this?

[toc] | [next] | [standalone]


#18293

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2013-01-29 21:30 +0100
Message-ID<XnsA157DAC384690eejj99@194.109.133.133>
In reply to#18290
dman777 wrote on 29 jan 2013 in comp.lang.javascript:

> 
> I recently made a scrollbar in javascript to replace the browsers
> default scrollbar. However, I noticed on the default browser scrollbar
> if a user mouse downs and hold it, moves the mouse out of the web
> browser to right, they can still control the scrollbar until they
> mouse up. 
> 
>  What I don't understand is how this is accomplished since event
>  listeners can not listen out side of the browser itself. How is this
>  done and how can I do this? 

This has nothing to do with javascript eventlisteners, 
it is just the way your machine's operating system is constructed.

The mouse(-pointer) can maintain to be connected to/owned by a programme 
window in focus, not to the programme window or other background it is 
hovering over. [and sometimes the scroll-wheel acts differently.] 

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web