$(window).load(function() {
//Taste the rainbow :)
spectrum();
function spectrum(){
var colorHex = ["#d1ff00", "#ff009c", "#00f0ff", "#707df7", "#ff9000" ];
var colors = colorHex[Math.floor(Math.random()*colorHex.length)];
$('#splash-banner').animate( { backgroundColor: colors }, 4000);
spectrum();
}
});
Chrome 表示频谱功能存在某种错误。看起来可能会出现无限循环。有人可以给我一些指示吗?谢谢