Log in

View Full Version : Default How do I make my page refresh after embed music stops?



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?

mburt
08-31-2006, 02:44 PM
I know what you're talking about, but I don't think it could be done.

The only solution I can see is if you measured the time, and then timed it with javascript.

ItsMeOnly
08-31-2006, 04:07 PM
how come my reply went to kingdom cone- with several others, too?