Results 1 to 2 of 2

Thread: I don't know if there is a script or not....

  1. #1
    Join Date
    Apr 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I don't know if there is a script or not....

    Here is what I am looking to do and quite honestly, I don't know if it is a javascript or if it would be more of a PHP script.

    I am doing a website design for a radio station. One of the features that I would like to put on there would be to have a LIVE ON AIR corner of the page and have it be a picture or image of whatever dj's shift that is. I want it to automatically change everyday at that time.


    Any ideas?

    Thanks in advance!

    Aaron

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Sure.... possible (I don't know enough JS myself to write it, but that would be very possible for someone who does know JS well).

    The catch is that you'd have to make it be based on a schedule.... which would be a pain. That's the hard part.

    If it were every day a different person, then that would be quite easy... but if it's semi-random, then it'll be weird. You'll have to store that data somewhere, then use it to base the js off...

    and, not that we're talking about storing data, you might just want to use php. it can use databases. It's a bit more complex, but it'll do what you want on the server side (then send to the viewer), not client side, so the viewer's browser doesn't have to be compatible with a certain script, just the pure html the php will output.


    Again, it's really easy to do what you're asking, except for setting up the schedules... that's weird.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •