You are here: Re: Script compatibility with browsers « HTML « IT news, forums, messages
Re: Script compatibility with browsers

Posted by Uli666 on 12/04/06 18:51

"cwdjrxyz" <spamtrap2@cwdjr.info> ha scritto

> This script apppears quite old and out of date. It appears to be from
> the browser war era when IE4 and Netscape 4 were the most recent
> browsers. It likely would be better to write a new, modern script than
> to try to update this senior citizen. Even in the browser war era, this
> script would work only for IE. Problem 1: BG sound works only on IE
> browsers and a very few others. Netscape was using embed for sound back
> then. Then IE also would support embed for sound. Problem 2. The
> document.all would work only on IE and close relatives, while Netscape
> used document.layers. Now modern browsers use document.getElementById.
> Layers is now gone for modern browsers. Modern IE, Mozilla
> family(Firefox,Netscape, Mozilla, Seamonkey) and Opera all support
> getElementById. IE6 will also still support document.all as will Opera,
> at least for some things. Also using a .wav is fine if you only use a
> very brief sound. However a .wma, .rm, and several other compressed
> audio formats have much less file size than a .wav, if your sound is
> longer - say a short song.

Thanks for your answer.
Yes, you are right. I also noticed that this scrip it's quite old. I agree
that would be better to write a new one, but I'm don't know JavaScrip enough
to do it. Could you help me in writing a new script?
I've managed to change the document.all with getElementById, but still
doesn't work on Firefox because of the bgsound (I guess).
The wav sound is very brief (less than 3 seconds) and it's just 29KB.

Thanks for helping.

Uli666



----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация