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


Groups > comp.lang.javascript > #24453

Re: Is it possible to detect the scroll wheel inside a <canvas>?

Newsgroups comp.lang.javascript
Subject Re: Is it possible to detect the scroll wheel inside a <canvas>?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <f1ab5bb7-1eb3-4a35-a8fb-6b219cc112e5@googlegroups.com> <el1bo9de38ccg7g4nehbht7gjtslmhjnp3@4ax.com>
Date 2014-05-28 10:45 +0200
Message-ID <XnsA33B6D674A4FDeejj99@194.109.133.133> (permalink)

Show all headers | View raw


Ed Jay <edMbj@aes-intl.com> wrote on 28 mei 2014 in comp.lang.javascript:

> bit-naughty@hotmail.com wrote:
> 
>>Just to add to my post some time back about detecting the right mouse
>>button, I understand the middle mouse *button* can be detected, but what
>>about the scroll wheel? 
>>
> <http://tinyurl.com/lg4t6sa>

Nice.

I added [for webkit]:

sq.e.style.cursor = (delta>0) ?'-webkit-zoom-in' :'-webkit-zoom-out';



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

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


Thread

Is it possible to detect the scroll wheel inside a <canvas>? bit-naughty@hotmail.com - 2014-05-27 23:19 -0700
  Re: Is it possible to detect the scroll wheel inside a <canvas>? Ed Jay <edMbj@aes-intl.com> - 2014-05-27 23:48 -0700
    Re: Is it possible to detect the scroll wheel inside a <canvas>? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-28 10:45 +0200
    Re: Is it possible to detect the scroll wheel inside a <canvas>? bit-naughty@hotmail.com - 2014-06-01 01:12 -0700
      Re: Is it possible to detect the scroll wheel inside a <canvas>? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-01 10:38 +0200
      Re: Is it possible to detect the scroll wheel inside a <canvas>? Ed Jay <edMbj@aes-intl.com> - 2014-06-01 06:45 -0700

csiph-web