Code: Select all
just so everyone knows, it will not be something that i'm going to be doing right now as i have to move and get a few other things sorted before i can start on it. only thing i do know right now is that it will be based off of my Midnightspace style for the first run and then the Concept style for the second. and also, in the future, i could even produce stylesheets of different colours for members to download so they could mix and match their own colours sets
<script type="text/javascript">
var d = new Date()
var time = d.getHours()
if (time<10)
{
document.write("<link href="{T_THEME_PATH}/morning.css" rel="stylesheet" type="text/css" media="screen, projection" />");
}
else if (time>10 && time<16)
{
document.write("<link href="{T_THEME_PATH}/day.css" rel="stylesheet" type="text/css" media="screen, projection" />");
}
else
{
document.write("<link href="{T_THEME_PATH}/evening.css" rel="stylesheet" type="text/css" media="screen, projection" />");
}
</script>