»
EnglishFrenchVietnamese

Print - Background flashing - JavaScriptBank.com

Full version: jsB@nk » Background » Background flashing
URL: https://www.javascriptbank.com/background-flashing.html

Background flashing © JavaScriptBank.comEverytime visitors enter the web page, this JavaScript changes background color continually in the short time period.

Full version: jsB@nk » Background » Background flashing
URL: https://www.javascriptbank.com/background-flashing.html



JavaScript
<script language="javascript">/*     This script downloaded from www.JavaScriptBank.com     Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*/function NewColor() {color = "#";for (i = 0; i < 6; i++) {hex = Math.round(Math.random() * 15);if (hex == 10) hex = "a";if (hex == 11) hex = "b";if (hex == 12) hex = "c";if (hex == 13) hex = "d";if (hex == 14) hex = "e";if (hex == 15) hex = "f";color += hex;}document.bgColor = color;setTimeout("NewColor();",10);}NewColor();</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->