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


Groups > comp.lang.javascript > #18293

Re: Event Listeners Outside Of Browser?

Newsgroups comp.lang.javascript
Subject Re: Event Listeners Outside Of Browser?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <b14b6bf3-687e-40ab-b794-f11dd3c373d4@googlegroups.com>
Date 2013-01-29 21:30 +0100
Message-ID <XnsA157DAC384690eejj99@194.109.133.133> (permalink)

Show all headers | View raw


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)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web