Pretty simple script. This is in response to a script request. Show a different image, or display a different line of text – (maybe even a different color for your site!) depending on the time. Very simple. All based on the date() function in php.
Pretty simple script. This is in response to a script request. Show a different image, or display a different line of text – (maybe even a different color for your site!) depending on the time. Very simple. All based on the date() function in php.
1 | Andrew
February 12th, 2003 at 10:56 pm
Hi Jenn. Thanks for the script! Wonderful!
How about loading an image depending on the user's screen resolution? 😉
2 | kristine
February 12th, 2003 at 11:22 pm
Very cool I have a similar one that changes the wording based on the time up here
3 | Jennifer
February 13th, 2003 at 8:08 am
that's so funny – because I THOUGHT you had done something similar. I had searched for it, but nothing came up.. (I think I have to do some tweaks to the search and see if it's working ok) – but actually, now that I look at it, yours will display different wording based on when the *MT post was made* – mine will display based on the current time (MT independent – and dynamic)…
And actually that's a note I'm sure someone will make – this will grab the *server's* time – which may or may not be the same as YOUR time or your VISITOR'S time. If you want to grab your VISITOR'S time – I think you'll have to do that with Javascript.
4 | Bern
Hi,
I hope you don't mind my asking here, but I'm looking for a script that can accomodate a weekly radio schedule. Depending on the day _and_ the time, it should display the title of the radioshow, some more info (like the name of the dj and soforth) and a picture.
So for the time part this script should do the trick, but how can I adapt it so it takes the days into account? It's a weekly schedule, so no need for dates or anything. I hope you can help me out with this. Either way, thanks in advance.
Bern Kreleger
The Netherlands