Full version: jsB@nk » Background » Background color flashs 7 times
URL: https://www.javascriptbank.com/background-color-flashs-7-times.html
This JavaScript allow you to quickly blink the background. With a click of a button, the background changes from white to blue and back several times to return to white.
Full version: jsB@nk » Background » Background color flashs 7 times
URL: https://www.javascriptbank.com/background-color-flashs-7-times.html
<script language="javascript">/* This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*/function blinkit(){intrvl=0;for(nTimes=0;nTimes<7;nTimes++){intrvl += 200;setTimeout("document.bgColor='#0000FF';",intrvl);intrvl += 200;setTimeout("document.bgColor='#FFFFFF';",intrvl); }}// End --></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<FORM><INPUT TYPE="BUTTON" VALUE=" Blink " onClick="blinkit()"></FORM><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->