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


Groups > comp.lang.javascript > #24327

Re: Is it possible to trap the right mouse click in a <canvas>?

Newsgroups comp.lang.javascript
Date 2014-05-21 13:08 -0700
References <34b73d82-8a02-46e2-8462-9e24a568609d@googlegroups.com>
Message-ID <1270b7cc-591e-48cf-a285-16b97beec7d9@googlegroups.com> (permalink)
Subject Re: Is it possible to trap the right mouse click in a <canvas>?
From rescattered@gmail.com

Show all headers | View raw


On Wednesday, May 21, 2014 10:34:12 AM UTC-4, bit-n...@hotmail.com wrote:
> ....in JS? And have it interact WITH the page, ie. show a menu with options on it that might change the page in some way....? (either the rest of the page OR inside the canvas).
> 
> 
> 
> 
> 
> Thanks.

Here is a very nice example of the sort of things that you can do with
javascript and canvas. Note how the code is triggered by the mousemove event:

http://codepen.io/soulwire/pen/Ffvlo

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


Thread

Is it possible to trap the right mouse click in a <canvas>? bit-naughty@hotmail.com - 2014-05-21 07:34 -0700
  Re: Is it possible to trap the right mouse click in a <canvas>? Ed Jay <edMbj@aes-intl.com> - 2014-05-21 11:56 -0700
    Re: Is it possible to trap the right mouse click in a <canvas>? bit-naughty@hotmail.com - 2014-05-22 06:22 -0700
      Re: Is it possible to trap the right mouse click in a <canvas>? Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2014-05-22 16:42 +0200
      Re: Is it possible to trap the right mouse click in a <canvas>? Ed Jay <edMbj@aes-intl.com> - 2014-05-22 08:55 -0700
  Re: Is it possible to trap the right mouse click in a <canvas>? rescattered@gmail.com - 2014-05-21 13:08 -0700
    Re: Is it possible to trap the right mouse click in a <canvas>? Ed Jay <edMbj@aes-intl.com> - 2014-05-21 16:35 -0700
      Re: Is it possible to trap the right mouse click in a <canvas>? John C <rescattered@gmail.com> - 2014-05-21 18:49 -0700

csiph-web