This is the code I worked on, which makes the background color flicker. I am wondering if anyone knows how to do this repetition so that the background continues to change colors anyway.
var a = new Array("ff", "ee", "dd", "cc", "bb", "aa", "99", "88", "77",
"66", "55", "44", "33", "22", "11", "00", "00", "11",
"22", "33", "44", "55", "66", "77", "88", "99", "AA",
"BB", "CC", "DD", "EE", "ff");
x = 0;
var b = new Array("ff", "ee", "dd", "cc", "bb", "aa", "99", "88", "77",
"66", "55", "44", "33", "22", "11", "00", "00", "11",
"22", "33", "44", "55", "66", "77", "88", "99", "AA",
"BB", "CC", "DD", "EE", "ff");
x = 0;
var c = new Array("00", "11", "22", "33", "44", "55", "66", "77", "88",
"99", "AA", "BB", "CC", "DD", "EE", "ff", "ff", "ee",
"dd", "cc", "bb", "aa", "99", "88", "77", "66", "55",
"44", "33", "22", "11", "00");
x = 0;
function bg_eff() {
col_val = "#" + a[x] + b[x] + c[x];
document.bgColor = col_val;
x++;
if (x == 32) {
clearInterval(change_bg);
}
}
change_bg = setInterval("bg_eff()", 50);