advertisement

Article:
  Build a Simple MP3 Player for Your Site
Subject:   Stop When Next Song Played?
Date:   2007-05-28 12:58:33
From:   DavidBattino
Response to: Stop When Next Song Played?

Is there any way to have the currently-playing song stop when a new link is clicked?


Yes. Set all pop-up windows to the same ID. That will cause each new pop-up to replace the last. The newer version of this script (see link at beginning of article) does that. You can do it here by removing the following line:


UniqueID = UniqueID + 1