Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #12253
| From | "Cal Who" <CalWhoNOSPAM@roadrunner.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Need audio feedback for spacebar press |
| Date | 2012-02-28 15:26 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <jijda9$6pd$1@dont-email.me> (permalink) |
| References | <jihhdm$7ar$1@dont-email.me> <inpok7lp9fkeaasp9m3k94pl9qaoom3lqv@4ax.com> <jiiqcc$cap$1@dont-email.me> <oh8qk7h99npuete1srqp04usfojnjmn1m8@4ax.com> |
"Gene Wirchenko" <genew@ocis.net> wrote in message
news:oh8qk7h99npuete1srqp04usfojnjmn1m8@4ax.com...
> On Tue, 28 Feb 2012 10:03:38 -0500, "Cal Who"
> <CalWhoNOSPAM@roadrunner.com> wrote:
>
>>>>What are my options?
>>>
>>> One is:
>>>
>>> <script type="text/javascript">
>>> function MakeSound(e)
>>> {
>>> if (e.which==32)
>>> alert("Space!");
>>> return true;
>>> }
>>> </script>
>>>
>>> ...
>>>
>>> <input ... onkeypress="return MakeSound(event);">
>>>
>>
>>won't that require the user to have to clink the alert OK to close the
>>alert?
>
> Yes. If I knew what exactly you are trying to do, it might be
> easier to come up with something more elegant.
>
> Sincerely,
>
> Gene Wirchenko
This is probably a good summary:
It is important that he know that he indeed did correctly hit the spacebar
without examining the screen.
Thanks
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Neek audio feedback for spacebar press "Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-27 22:24 -0500
Re: Neek audio feedback for spacebar press Gene Wirchenko <genew@ocis.net> - 2012-02-27 21:38 -0800
Re: Need audio feedback for spacebar press "Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-28 10:03 -0500
Re: Need audio feedback for spacebar press Gene Wirchenko <genew@ocis.net> - 2012-02-28 10:52 -0800
Re: Need audio feedback for spacebar press "Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-28 15:26 -0500
Re: Need audio feedback for spacebar press Gene Wirchenko <genew@ocis.net> - 2012-02-28 12:53 -0800
Re: Need audio feedback for spacebar press Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-28 20:13 +0100
Re: Need audio feedback for spacebar press Dr J R Stockton <reply1209@merlyn.demon.co.uk> - 2012-02-29 19:42 +0000
Re: Need audio feedback for spacebar press Andreas Bergmaier <andber93@web.de> - 2012-03-01 18:35 +0100
Re: Need audio feedback for spacebar press Dr J R Stockton <jrs@merlyn.demon.co.uk> - 2012-03-02 21:48 +0000
csiph-web