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


Groups > comp.lang.javascript > #8973

Re: Sound on/off button does not work

From "Fokke Nauta" <fnautaNO@SPAMiae.nl>
Newsgroups comp.lang.javascript
Subject Re: Sound on/off button does not work
Date 2011-12-07 19:48 +0100
Message-ID <9k9qopFudlU1@mid.individual.net> (permalink)
References <9k9208FoloU1@mid.individual.net> <4edf9765$0$29307$a8266bb1@newsreader.readnews.com>

Show all headers | View raw


"Denis McMahon" <denismfmcmahon@gmail.com> wrote in message 
news:4edf9765$0$29307$a8266bb1@newsreader.readnews.com...
> On Wed, 07 Dec 2011 12:46:13 +0100, Fokke Nauta wrote:
>
>> I searched for a sound on/off button for web pages. The script I found I
>> placed in an HTML document. I adapted it only to suit a different sound
>> file and to change the text on the button. It does not work though. The
>> original version didn't work either. The button changes allright but the
>> sound stays on. Can any one help me out?
>
> Have you tried the following:
>
> http://validator.w3.org/unicorn/check?ucn_uri=www.pc3.nl%2Ftest%
> 2Ftest.htm&ucn_task=conformance#

Hi Dennis,

I just did and was surpised with the amount of errors.

> which suggests to me that (a) your script element is incorrectly defined
> and (b) the embed element isn't supported in the defined doctype.

Well, I used the embed element on other webpages with the same doctype and 
it works perfectly.
But which doctype should I choose, to start with?

Regards,
Fokke 

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


Thread

Sound on/off button does not work "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-12-07 12:46 +0100
  Re: Sound on/off button does not work Denis McMahon <denismfmcmahon@gmail.com> - 2011-12-07 16:42 +0000
    Re: Sound on/off button does not work "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-12-07 19:48 +0100
      Re: Sound on/off button does not work "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-12-08 00:09 +0200
        Re: Sound on/off button does not work David Mark <dmark.cinsoft@gmail.com> - 2011-12-07 16:03 -0800
          Re: Sound on/off button does not work "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-12-08 20:23 +0100
            Re: Sound on/off button does not work Denis McMahon <denismfmcmahon@gmail.com> - 2011-12-09 00:10 +0000
              Re: Sound on/off button does not work David Mark <dmark.cinsoft@gmail.com> - 2011-12-08 16:40 -0800
            Re: Sound on/off button does not work David Mark <dmark.cinsoft@gmail.com> - 2011-12-08 16:46 -0800
    Re: Sound on/off button does not work David Mark <dmark.cinsoft@gmail.com> - 2011-12-07 15:55 -0800
  Re: Sound on/off button does not work Denis McMahon <denismfmcmahon@gmail.com> - 2011-12-09 00:41 +0000
    Re: Sound on/off button does not work "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-12-10 13:40 +0100

csiph-web