Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29943
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Tim Streater <timstreater@greenbee.net> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Wait on keyboard |
| Date | Sat, 12 Mar 2016 15:52:43 +0000 |
| Lines | 32 |
| Message-ID | <120320161552438741%timstreater@greenbee.net> (permalink) |
| References | <6ef267d6-7655-4699-9363-d6e0f613f899@googlegroups.com> <nbuq32$gg0$1@news.albasani.net> <nbuqnf$h5u$1@news.albasani.net> <ec9a24dc-6b47-441f-85c3-bb868695c2f1@googlegroups.com> <nbv66u$ko5$1@dont-email.me> <b4240f95-40ec-4bee-ad9a-1cc4fe15273f@googlegroups.com> <167d4204-d421-4852-ab16-b6659b83cfac@googlegroups.com> <re58ebtpclu82quc4thn4uglg7jp4ps48o@4ax.com> <cfd163f7-dc45-4cf1-b8cb-9f1b0b6c4993@googlegroups.com> <XnsA5C99C64E1C14eejj99@194.109.6.166> <35b92d72-d65a-4866-b060-7b448d24d4f1@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net cTNmo7/i3GU+cWWxiTcy+gyiZgeIv/LlOFX2lIkKnFuauXwwOI |
| X-Orig-Path | timstreater |
| Cancel-Lock | sha1:pU/RnbqL1IrSh//LGCl/WBbhe3k= |
| Mail-Copies-To | nobody |
| User-Agent | Thoth/1.9.1 (Mac OS X) |
| X-No-Trace | yes |
| X-No-Archive | yes |
| X-Face | "[^yYK92E9|LVD+Av;Fa,giW>Pb"sKU%_`r0#U!ev`>CN2z}$mY(LO@{)-Mo1 )]#\pO1*O.$hdJl67V?e*J6`nb]cCpJ5<<e&qJ+e+,TI|2/F\d`C#*a*9d^?WOq'H.*% V?'C+Fi^W-l)f"Ru5V("V~M:yU/Y"W3F[O!t|M1+Q&_.LEV>ZRWNth$Kw0j3f8lz:H9T N5[T'*t:]%pcYSZM |
| Xref | csiph.com comp.lang.javascript:29943 |
Show key headers only | View raw
In article <35b92d72-d65a-4866-b060-7b448d24d4f1@googlegroups.com>, <jonas.thornvall@gmail.com> wrote: >And you could achieve alot of things like maka a real good texteditor or any >other UI application that use keypress shortcuts to perform actions by calling >functions. It would be quite another language and allow for different >approaches creating UI. Personally i like click drag drop but that doesn't >mean that keyboard driven eventhandling should be prohibited or be done with >such agony of labour that people simply skip or refuse to use it in their >applications. Why are you having such difficulty with this? It's really very simple: 1) Attach onkeypress to something. In my example I attached it to the <body>. One statement. 2) Decide what to do with the keypress. One statement. What's so hard about two statements? You method of doing: wait(keypress) means your application STOPS while waiting for a key to be pressed. What is the use of that? -- New Socialism consists essentially in being seen to have your heart in the right place whilst your head is in the clouds and your hand is in someone else's pocket.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 02:30 -0800
Re: Wait on keyboard Tim Streater <timstreater@greenbee.net> - 2016-03-11 10:37 +0000
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 02:50 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 03:13 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 03:23 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 03:32 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 03:39 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 04:41 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 05:00 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 05:43 -0800
Re: Wait on keyboard Tim Streater <timstreater@greenbee.net> - 2016-03-11 12:13 +0000
Re: Wait on keyboard "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-03-11 21:52 +0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 07:29 -0800
Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-11 17:00 +0100
Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-11 17:11 +0100
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 08:32 -0800
Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-11 20:20 +0100
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 08:55 -0800
Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-11 16:30 -0300
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 11:46 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 12:22 -0800
Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-11 17:25 -0300
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 12:32 -0800
Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-11 17:42 -0300
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 12:52 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-11 12:47 -0800
Re: Wait on keyboard "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-03-11 18:39 -0800
Re: Wait on keyboard "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-03-11 18:37 -0800
Re: Wait on keyboard John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-12 13:16 +0000
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 05:57 -0800
Re: Wait on keyboard John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-13 10:31 +0000
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 05:55 -0700
Re: Wait on keyboard "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-13 17:19 +0100
Re: Wait on keyboard Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-13 13:01 -0700
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 15:19 -0700
Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-13 20:08 -0300
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 21:45 -0700
Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-14 01:50 -0300
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 22:39 -0700
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 22:46 -0700
Re: Wait on keyboard Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-14 11:54 -0700
Re: Wait on keyboard Tim Streater <timstreater@greenbee.net> - 2016-03-14 08:31 +0000
Re: Wait on keyboard John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-14 10:43 +0000
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 06:04 -0800
Re: Wait on keyboard "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-12 15:22 +0100
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 07:46 -0800
Re: Wait on keyboard Tim Streater <timstreater@greenbee.net> - 2016-03-12 15:52 +0000
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 09:25 -0800
Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-12 20:16 -0300
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 15:57 -0800
Re: Wait on keyboard Aleksandro <aleksandro@gmx.com> - 2016-03-12 21:07 -0300
Re: Wait on keyboard Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-12 21:27 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-13 03:08 -0700
Re: Wait on keyboard "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-12 23:30 +0100
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 06:15 -0800
Re: Wait on keyboard "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-03-11 18:33 -0800
Re: Wait on keyboard jonas.thornvall@gmail.com - 2016-03-12 03:01 -0800
Re: Wait on keyboard "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-03-11 18:30 -0800
Re: Wait on keyboard Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-12 04:44 +0100
Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-12 11:21 +0100
Re: Wait on keyboard Stefan Weiss <krewecherl@gmail.com> - 2016-03-12 11:27 +0100
Re: Wait on keyboard Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-12 14:44 +0100
Re: Wait on keyboard "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-03-14 18:58 +0800
csiph-web