I've never seen; nor heard of it being, done before, but the idea should be easy enough to do. It just depends on if you want to use Javascript or a server side (PHP, ASP, etc) language to accomplish it. If you wanted to use PHP, the basic idea would be something like this (Placed between the head tags of the document:
Code:
<?php
if (date('H') >= '08' && date('H') <= '19' ) { //if between the hours of 8am and 7pm, show day css
?>
<link rel="stylesheet" href="day.css" type="text/css">
<?php
}
else {
?>
<link rel="stylesheet" href="night.css" type="text/css">
<?php
}
?>
Not sure how you would accomplish using Javascript, but I do know that it can be done.
Hope this helps.
Bookmarks