On 26 Nov 98, Markus B. Pirchner wrote:

> Hm, I still get JS error (line 90 char 17: object doesn't support this
> property or method [translated from the german error message]) - works
> fine with NN 4.07 and Opera 3.50 final.
> 
> BTW: Nice example :-))

Heh... yeah, it was kind of cute I guess.  Amazing what you can do to a 
photo with PaintShop Pro and a warped imagination.

I'm still not quite sure why that line of code produces an error -- it 
shouldn't, according to Netscape's Javascript docs -- maybe some bug 
that crept into version 4.5.  And it still works fine at my end on NS 3, 
4.07, 4.5 and MSIE 4.01.  (However, as I noted a few days ago, a Web 
designer/developer should *never* excuse something that's broken by 
claiming, "But it works fine here!" <g>)

That section of code isn't really needed anyway.  The script in its original 
form was for playing multiple MIDI files, and the stopAudio() function was 
there to prevent an error in MSIE if a user tried to play two songs at 
once.  This isn't really an issue if you just want a short file to play when a 
user mouses over something.

So I've taken that part of the code out.  Do you want to try it again and 
see if it works in 4.5 now?

        http://www.almonte.com/test/sound_test.html


-----------
Brent Eades, Almonte, Ontario
   E-mail: [EMAIL PROTECTED]
           [EMAIL PROTECTED]
   Town of Almonte site: http://www.almonte.com/
   Business site: http://www.federalweb.com

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to