Time Specific Rotating Images
Hello
I run an Internet Radio station with 15 (so far) DJ's. What I am looking to do is setup a Rotating Image on the page that is "Time Specific" for example...
Johnny Fingers does "Blues from the Cellar" from 2pm to 5pm on Saturday. I want the webpage to post his picture and info at 2pm EDT. Then when his show is finished at 5pm it changes to the next DJ's whos on (in this case Lynnie's "Hit Kickin Kountry" then at 8pm it changes to the next DJ and so on...Does anyone have any ideas? I've found plenty of rotating scripts but none that were time specific.
I appreciate any help!
MADcHATTER
timjpriebe posted this at 16:17 — 18th October 2006.
He has: 2,667 posts
Joined: Dec 2004
The best way to do that would probably be with a small PHP script, although JavaScript could do it as well.
Do you have PHP scripting capability on your server?
Tim
http://www.tandswebdesign.com
MADcHATTER posted this at 16:24 — 18th October 2006.
They have: 3 posts
Joined: Oct 2006
Yes I do...on both hosts I use!
MAD
timjpriebe posted this at 15:02 — 19th October 2006.
He has: 2,667 posts
Joined: Dec 2004
Sounds like you'll need the date function, then compare the time drawn from that with the schedule your DJ's are on. Do you know enough about PHP to do that?
Tim
http://www.tandswebdesign.com
MADcHATTER posted this at 16:02 — 19th October 2006.
They have: 3 posts
Joined: Oct 2006
Not enough to write it. Someone told me there was an existing PHP script that could do this but cant seem to remember where to find it. So I thought i'd try a couple different places.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.