Background Flasher




The code to do this

<script language="javascript">
<!--
function blinkOn(){
theWin.document.bgColor="#FFFF00"
nTimes++
TimeoutID=window.setTimeout("blinkOff()",50);
}
function blinkOff(){
theWin.document.bgColor="#00FF00"
if(nTimes<15)
TimeoutID=window.setTimeout("blinkOn()",50);
else theWin.history.go(0)
}
function blinkit(aWin)
{
nTimes=0
theWin=aWin
TimeoutID=window.setTimeout("blinkOn()",50);
}
//-->
</script>
</head>

<form>
<input type="button" value="Click Here for Flashing Background"
onClick="blinkit(self)">
</form>