Background

By log2 on May 08, 2005

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)

<?
$today = date("w");
$bgcolor = array(
"#FF0000", "#00FF00", "#0000FF", "#FFFF00",
"#FF00FF", "#00FFFF", "#FFFFFF"
);
?>
<body bgcolor="<?print("$bgcolor[$today]");?>">

Comments

Sign in to comment.
Hawkee   -  May 14, 2005

Yeah, I\'ll have to fix that..

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.