Help my Jscript work in firefox?

The javascript there does not work in firefox, but in IE it works

Here is the code for animate.js
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Your script needs updating. It relies on property document.layers to work in FF and support for that was dropped in FF

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David S.Commented:
That script must be over 10 years old. It's ancient by Internet standards.  The DOM (document object model) has been standardized since then. Now methods like document.getElementsByTagName() are used instead.

@CEHJ  Netscape 6+ didn't support document.layers either.
Mick BarryJava DeveloperCommented:
shoukd be able to update it and get it working
or find a different script to meet your needs
let me know if you need any help

(you would also be better off moving the question out of the Java zone, and into Javascript. This has nothing to do with Java)

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.