thinandpale
08-29-2006, 08:56 AM
On my web site, I have random bgsound tags set up to play each time the page refreshes. At the moment, I set all of their loops to TRUE.
What I want to do is set each embed music file to refresh the page after it's done playing, so a different random song file starts playing again.
The random music files are set up with Java Script, but the music is set up with HTML
I know how to refresh a page using meta and body tags, and even using Java Script, but how I have my random music files set up I can't use any of those methods. If I want to use the Java Script refresh with a timer, I would have to set it up individually for each sound file because the sound files are all different times, but I also can't put script inside the random music file script so is there a away around this?
What I want to do is set each embed music file to refresh the page after it's done playing, so a different random song file starts playing again.
The random music files are set up with Java Script, but the music is set up with HTML
I know how to refresh a page using meta and body tags, and even using Java Script, but how I have my random music files set up I can't use any of those methods. If I want to use the Java Script refresh with a timer, I would have to set it up individually for each sound file because the sound files are all different times, but I also can't put script inside the random music file script so is there a away around this?