You can make it easier by using delayin the base loop for, but you also need to use fadeIninstead fadeTo, since the opacity animation is fadeTonot handled by IE7:
JSFiddle: http://jsfiddle.net/TrueBlueAussie/7u8qmdoo/6/
$(document).ready(function()
{
for (var i = 0; i < 8; i++){
$("#num" + i).delay(i * 2000).fadeIn(1000);
}
});
This is the same as:
$("#num0").delay(0).fadeIn(1000,1);
$("#num1").delay(2000).fadeIn(1000,1);
$("#num2").delay(4000).fadeIn(1000,1);
etc.
source
share