To see the script
in action click on the button below 'start bgcolor
WARP'.
Script:
This is a two step
script. This script requires no editing.
Step one:
Between the
<head> and </head> tags place the following
code.
<SCRIPT
LANGUAGE="Javascript"> <!-- This script and many more
are available online free at --> <!-- The JavaScript
Source!! http://javascript.internet.com --> <!--
Begin
var COLOR = 999999
var woot = 0
function stoploop()
{
document.bgColor =
'#000000';
clearTimeout(loopID);
}
function loopBackground()
{
if (COLOR > 0) {
document.bgColor = '#' +
COLOR
COLOR -= 111111
loopID =
setTimeout("loopBackground()",1)
} else {
document.bgColor =
'#000000'
woot += 10
COLOR = 999999
COLOR -= woot
loopID =
setTimeout("loopBackground()",1)
}
}
// End -->
</SCRIPT>
Step two:
Between the
<body> and the </body> tags place the following
code.