Чтобы создать мигающий фон при открытии веб-страницы, в тело веб-страницы необходимо добавить приведенный ниже JavaScript.
function initArray () {this.length = initArray.arguments.lengthfor (var i = 0; i= step) {red - = red_int; red_round = Math.round (красный); red_hex = Dec2Hex (красный); grn - = grn_int; grn_round = Math.round (grn); grn_hex = Dec2Hex (grn); blu - = blu_int ; blu_round = Math.round (blu); blu_hex = Dec2Hex (blu); document.bgColor = red_hex + grn_hex + blu_hex; // document.write (" bgcolor = "+ red_hex + grn_hex + blu_hex); step ++;} document.bgColor = end;}