Hello ![Pirate Pirate](https://www.supportforums.net/images/smilies/pirate.gif)
Keep enjoy using great SF forum![Smile Smile](https://www.supportforums.net/images/smilies/smile.gif)
SCRIPT DESCRIPTION:
--------------------
This changes the colour of the background depending on the day of the week! Just place this after the (/head tag) and before the (body) tag (which you will have to take out)
With this code you can make your page more attractive, by having random colors.
CODE:
-----------
And change the <body> tags with the following code:
Thanks Ninja Geek for help ;)
---
That's it
Enjoy
![Pirate Pirate](https://www.supportforums.net/images/smilies/pirate.gif)
Keep enjoy using great SF forum
![Smile Smile](https://www.supportforums.net/images/smilies/smile.gif)
SCRIPT DESCRIPTION:
--------------------
This changes the colour of the background depending on the day of the week! Just place this after the (/head tag) and before the (body) tag (which you will have to take out)
With this code you can make your page more attractive, by having random colors.
CODE:
-----------
PHP Code:
<?
$today = date("w");
$bgcolor = array(
"#FF0000", "#00FF00", "#0000FF", "#FFFF00",
"#FF00FF", "#00FFFF", "#FFFFFF"
);
?>
And change the <body> tags with the following code:
PHP Code:
<body bgcolor="<? print ($bgcolor[$today] - 1);?>">
---
That's it
![Smile Smile](https://www.supportforums.net/images/smilies/smile.gif)