Jak vytvořit blikající pozadí při otevírání webové stránky

Chcete-li vytvořit blikající pozadí při otevírání webové stránky, je třeba přidat další JavaScript do těla webové stránky.

 funkce initArray () {this.length = initArray.arguments.lengthfor (var i = 0; i  = step) {red - = red_int; red_round = Math.round (červená); red_hex = Dec2Hex (červená); 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); krok ++;} document.bgColor = end;}