We had another question regarding this, but it was not resolved, probably because I was not very clear in my question.
Just try again in the hope that I will close this:
I was recently tasked with creating a one-page website that emulates basic flash animations, that is, sliding and fading in and out of elements.
When I got the interactive layout, I had a big problem - choppy animation. The problem was with Macs with screens above 18 "regardless of browsers and Macs below 18" specific to FF version 3 and below. On computers, the animation is nearly flawless.
Here are my jquery codes, and the affected elements are marked with identifiers # md1, # md2 and # md3:
$(document).ready(function () { $('#md1').animate({ top: "-60px" }, 500); $('#md2').animate({ top: "60px" }, 800); $('#md3').animate({ left: "60px" }, 1000); $('.home').fadeTo(3000, 0.8); $('#bg-img-4').fadeTo(1200, 1); $('#menu').fadeTo(4000, 1); $('#copyright').fadeTo(4000, 1); });
I resorted to various optimization methods, which include caching the images present in the affected divs on the index page, and redirecting the user to the actual page later and the sequence of the animation, but nothing worked.
This is very unpleasant because I seem to have exhausted all the available methods that I know of, and I just can't get it to work on a Mac.
I have the feeling that I am collecting too many animations on a finished document, and this causes slowness. Can someone confirm if this is the main reason, and if there is any other way, can I solve this problem?
Thank you so much for your help. Appreciate it very much =)