Changing by Time
I want a page on the website to change according to the visitor's time. Like from 6am it'll be one page until 7pm, then it'll change, and then it'll just keep repeating like that every day according to the visitor's time. If you want to know what I want to change, it's this page: http://www.dreamora.com/home. I want the borders to be a lighter shade of blue during the day, and a darker shade of blue (like what is already there) during the night (I know that I will probably have to make a separate page with the different shades of blue, but I need to figure out to have it automatically change the pages every day). If anyhing can help it would be greatly appreciated. Thanks!
you've been doing it 5 years and haven't learned how to look up functions on google?
I looked, but I'm not entirely sure what to look for either. But I did think people would be generous enough to help me on here. My mistake. I wonder what this board is for anyway...
Sorry for wasting your time...
Give it a little time... maybe someone on here will know the answer. I can't help you much, but I can't imagine it's all that hard. And you shouldn't have to make seperate pages... at worst, you could make different CSS files and use different ones for different times.
If I was doing this, however, I'd use PHP, not worry about what the user's time is and include different CSS files depending on what the server time is. It kinda screws the effect for anyone that is a few time zones away from your server, but it'd be easier. And besides... until you make your site readable, I doubt you'll get much traffic anyways. Dark blue on black?? What gives? I have decent eyes and I get a headache after a few minutes.
Oh... and just a few small tips for the future:
1) Don't brag about how long you've been using something and then ask a fairly trivial question... especially one that can be solved by a simple google search.
>> But I did think people would be generous enough to help me on here. My mistake. I wonder what this board is for anyway...
wow dude. Do something for yourself for christs sake. I gave you a great link, even though it was a simple google search. And oh yeah, this comes from the first line of the web page in the link i gave you: "This page describes the basics of date and time scripting..."
what the hell else do you want? to hold your hand?