Based on Jon's
excellent code:
in the index.php
Code:
<body class="body_<?php $ourdate = getdate(); echo $ourdate['weekday']; ?>">
in the template_css.css
Code:
body.body_Monday {
background: url(../images/monday.png) top left no-repeat;
background-color : red;
}
body.body_Tuesday {
background: url(../images/tuesday.png) top left no-repeat;
background-color : blue;
}
etc...
as an example (thanks again Jon!)
Of course I also changed the background color of
.xboxcontent and removed the background styles from the main body tag.
I had intended on leaving the rounded corners intact, but it just didn't look right without the transparent/background image the way you have it. And the rounded corners look
great as far as I'm concerned, I just imagine you must have put a lot of work into that! I really did have a hard time deciding to get rid of them.
The thing is, I just used that bit of PHP to make changes based on the day of the week. And I only made changes to the image and the background color of the body. Think about this, the same type of functionality could be put into your template to change your site to a holiday theme based on the month, or a different scheme based on the time of day (although I think that would be a bit more difficult). And it isn't just the background image and color that can be changed, any element that you like could be changed. Change the font style, change the font color, change a header based on some other variable.
I've seen someone ask about changing images for different sections of the site... I don't know how to do it, but I know it must be possible. This is an example of one simple thing, but the possibilities are much greater if you think about it.
For instance, in the next version, I'll be changing different style elements of individual table cells... or, at least that's what I'm working on

And, seriously Randy/Jon, thanks to both of you. You've no idea how much I've learned from all of this.