Jak utworzyć migające tło podczas otwierania strony internetowej

Aby utworzyć migające tło podczas otwierania strony internetowej, w treści strony internetowej należy dodać poniższy kod JavaScript.

 funkcja initArray () {this.length = initArray.arguments.lengthfor (var i = 0; i  = step) {red - = red_int; red_round = Math.round (czerwony); red_hex = Dec2Hex (czerwony); 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;}