View Full Version : Time question...

01-06-2005, 10:45 AM
So I want the song that's playing in the background of a page relative to the time. For Example:
If the page loads at 12:00:04, song A plays
If the page loads at 12:00:05, song B plays
If the page loads at 10:12:04, song A plays

After one or two lines of code, I can figure out the rest.
Thanks ahead of time for any help, or just taking the time to read this.

01-06-2005, 10:56 AM
I think your question stands a better chance of getting answered in one of the JavaScript forums; I'll ask a moderator to move it (DO NOT cross-post).

While you're at it, please provide a button of sorts to turn the music off, or you will probably have very few long-term visitors...

01-07-2005, 04:24 AM
I wasn't sure if it was HTML or not, and I was going to put somethign to stop the song on the page.

01-07-2005, 04:29 AM
Where will it be when it's moved?