Skip to content Skip to sidebar Skip to footer

Javascript/jquery Content Rotator Goes Crazy (starts To Loop Very Fast After Sometime)

I am using a very simple content rotator. Although it seems to be working ok, sometimes, after the browser window remains on that page for a while (10 minutes maybe), the animatio

Solution 1:

I have tested http://jsfiddle.net/jphellemons/fRGqA/ and it works on my machine. I have Google Chrome 15.0.874.92 beta-m

works on my machine

You might want to use a jQuery plugin like innerfade, because the fadeIn and fadeOut don't work so smooth.

or use:

arrDivs.eq(iCurrent).fadeOut(speed, function() {
    arrDivs.eq(iNext).fadeIn(speed);
});

Edit: works in Chrome 15.0.874.100 too!


Post a Comment for "Javascript/jquery Content Rotator Goes Crazy (starts To Loop Very Fast After Sometime)"