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


Groups > comp.lang.javascript > #12251

Re: Need audio feedback for spacebar press

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!news.osn.de!diablo2.news.osn.de!news.belwue.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Content-Type text/plain; charset="ISO-8859-1"
Message-ID <1945976.aqSPkdTlGX@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Organization PointedEars Software (PES)
Date Tue, 28 Feb 2012 20:13:47 +0100
User-Agent KNode/4.4.11
Content-Transfer-Encoding 7Bit
Subject Re: Need audio feedback for spacebar press
Newsgroups comp.lang.javascript
To Cal Who <CalWhoNOSPAM@roadrunner.com>
References <jihhdm$7ar$1@dont-email.me> <inpok7lp9fkeaasp9m3k94pl9qaoom3lqv@4ax.com> <jiiqcc$cap$1@dont-email.me>
Followup-To comp.lang.javascript
MIME-Version 1.0
Lines 37
NNTP-Posting-Date 28 Feb 2012 20:13:48 CET
NNTP-Posting-Host de516a44.newsspool3.arcor-online.net
X-Trace DXC=]I\RM>:i713TQL:hoD@>T?McF=Q^Z^V384Fo<]lROoR18kF<OcfhCO;a`:6Ko^Zg`<DZm8W4\YJN<b@mF9jNikd5`A3N=Qf;A>8nm5<L\\<no0
X-Complaints-To usenet-abuse@arcor.de
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:12251

Followups directed to: comp.lang.javascript

Show key headers only | View raw


[Posted & mailed]

Cal Who 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, it won't.

Please leave in the attribution lines.  Even an attribution novel is better 
than no attribution at all.


PointedEars
-- 
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
  -- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)

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


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