JQuery animations are slower and lagging behind server side chrome

My chrome version is: 18.0.1025.168 m, jQuery version is 1.7.2.

However, when I try to animate:

$("#xyz").animate({ 'margin-left':'500px' }, 500, function(){
    //Do something (another animation).
    $("#abc").animate({ 'margin-left':'300px' }, 500);
});

Both xyzand abcexpect a smooth and fast in all browsers (IE, FF, and the Chrome) on the client side (on my computer).

But, when I upload it to the server, IE and FF expect smoothly, as usual. Chrome animates seamlessly abc. But Chrome fights / gets in the way during the animation xyz.

+3
source share
3 answers

xyz? , . jquery.stop(). , jQuery . , , , xyz, , .

0

. .. margin-left ':' 500px 'try margin-left': '1000px'... , , ... margin top, left, right, bottom kinda lag in chrome.

0

All Articles