View Full Version : How do I stop embeded audio on hidden frame

05-14-2009, 10:08 PM
Script Title: Featured Content Slider v2.4 (http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm)

Script URL: Featured Content Slider v2.4 (http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm)

I am trying to use Featured Content Slider v2.4 (http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm) but I fail to automatically stop audio files embeded in hidden frames. please help me to stop invisible frames from playing audio. I used different mp3 files in all frames.
Here is the code provided to customize but I don't know how to use it. Do I need a specific plugin for audio player or what? I'm on win xp platform.

onChange: function(previndex, curindex){
if (previndex==curindex) //if two indices point to the same slide (page first loads)
return //do nothing
else if (previndex==1)
else if (previndex==2)
else if (previndex==3)