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


Groups > comp.lang.javascript > #17809

Re: Strange - Chrome doesn't run the script if an empty button is remove

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid>
Newsgroups comp.lang.javascript
Subject Re: Strange - Chrome doesn't run the script if an empty button is remove
Date Sun, 23 Dec 2012 13:41:21 +0000
Organization A noiseless patient Spider
Lines 51
Message-ID <kb71m9$smd$1@dont-email.me> (permalink)
References <2ec7220f-818a-42cb-b767-84d5ae59e8cc@googlegroups.com> <kb6sh9$1bk$1@dont-email.me> <4904e075-1d08-47c1-a6f4-ca49d5d35b7b@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 23 Dec 2012 13:41:29 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="39f366fe7d62d97cdc90e74081e3024e"; logging-data="29389"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OCt6rgmAFhlw+ppJb4fet"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
In-Reply-To <4904e075-1d08-47c1-a6f4-ca49d5d35b7b@googlegroups.com>
Cancel-Lock sha1:tfqCqifAPXC6M0wrFoF02FWP1Tk=
Xref csiph.com comp.lang.javascript:17809

Show key headers only | View raw


On 23/12/2012 12:47, cato.salid@getmail.no wrote:
> On Sunday, December 23, 2012 1:13:19 PM UTC+1, 123Jim wrote:
>> On 23/12/2012 10:17, cato.salid@getmail.no wrote:
>>
>>> I'm new to javascript and have problem to find why Chrome
>>
>>> doesn't run the script if an empty button tag is removed.
>>
>>> The script use Windows Media player and lyric lines are displayed using opacity.
>>
>>> Any ideas why this happen?
>>
>>>
>>
>>> http://www.cicyzone.com/Lyrictest/Samples/jsonandopacity.htm
>>
>>>
>>
>>> Cato
>>
>>>
>>
>>
>>
>> Chrome settings button (right side) > tools > 'javascript console'
>>
>> reports: "Uncaught TypeError: Cannot read property 'currentPosition' of
>>
>> undefined"
>>
>>
>>
>> In jsonandopacity.htm
>>
>> here:
>>
>> function synctimer()
>>
>> {
>>
>> var tim=Math.round(lyricplayer.controls.currentPosition*1000/100) * 100 ;
>
> Thank you for your answer, but why doesn't I get this error in the console.
> And why are this working for me when the button is present, and not when removed. (You must also have Windows Media player plugin for Firefox and Chrome)
> This script works in FireFox and IE with or without the button.
>
> Cato
>

Did you change something? .. It is working now also in chrome since I 
updated the windows media player plugin.

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


Thread

Strange - Chrome doesn't run the script if an empty button is remove cato.salid@getmail.no - 2012-12-23 02:17 -0800
  Re: Strange - Chrome doesn't run the script if an empty button is remove 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid> - 2012-12-23 12:13 +0000
    Re: Strange - Chrome doesn't run the script if an empty button is remove cato.salid@getmail.no - 2012-12-23 04:47 -0800
      Re: Strange - Chrome doesn't run the script if an empty button is remove 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid> - 2012-12-23 13:41 +0000
        Re: Strange - Chrome doesn't run the script if an empty button is remove cato.salid@getmail.no - 2012-12-23 05:46 -0800
      Re: Strange - Chrome doesn't run the script if an empty button is remove Stefan Weiss <krewecherl@gmail.com> - 2012-12-23 14:44 +0100
        Re: Strange - Chrome doesn't run the script if an empty button is remove cato.salid@getmail.no - 2012-12-23 06:03 -0800
          Re: Strange - Chrome doesn't run the script if an empty button is remove cato.salid@getmail.no - 2012-12-23 06:54 -0800
            Re: Strange - Chrome doesn't run the script if an empty button is remove "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-12-23 18:19 +0100
          Re: Strange - Chrome doesn't run the script if an empty button is remove 123Jim <jnkjnjnini@uhnuhnunuhnuy.invalid> - 2012-12-23 17:19 +0000
            Re: Strange - Chrome doesn't run the script if an empty button is remove cato.salid@getmail.no - 2012-12-24 06:14 -0800
          Re: Strange - Chrome doesn't run the script if an empty button is remove David Mark <dmark.cinsoft@gmail.com> - 2013-01-05 17:36 -0800

csiph-web