|
↑
Background Effects >>>
This script, once started, will continuously loop the background color .
Add the below code to the <BODY> section of your page:
<SCRIPT
LANGUAGE="Javascript">
var
COLOR =
999999
var
woot =
0;
var
canDo=true;
function
stoploop()
{
document.bgColor
=
'#ffffff';
clearInterval(loopID);
canDo=true;
}
function
Go()
{
if
(COLOR
>
0)
{
document.bgColor
=
'#'
+
COLOR
COLOR -=
111111
}
else
{
document.bgColor
=
'#000000'
woot
+=
10
COLOR
=
999999
COLOR
-=
woot
}
}
function
loopBackground()
{
if(canDo)
loopID =
setInterval("Go()",1);
canDo=false;
}
</script>
<FORM
NAME="background">
<table
align="center"><tr><td>
<INPUT
TYPE="button"
VALUE="Start
bgColor WARP"
onClick="loopBackground()">
</td><td>
<input
type="button"
value="Stop
bgColor WARP"
onClick="stoploop()">
</td></tr></table>
</FORM>
|
↓
http://www.cashadvance-loans.net/california/cash-advance-burbank-ca/
|