First of all, you are using Swiss Army Slide Show with no credit in your page's source code. That is in violation of DD TOS:
Your page is in violation of Dynamic Drive's
usage terms, which, among other things, state that the script credit must appear in the source code of the
page(s) using the script. Please reinstate the notice first.
You may also be using other scripts (DD scripts or others) in violation of their TOS, I just happened to notice that one, perhaps because I wrote it and could easily see that it was being used.
Please make sure that you are crediting all scripts whose Terms Of Service require it.
That said, as for the Toggle Sound Script III script, you have an onload conflict, and you left out some code. To fix the onload conflict, get rid of this (highlighted):
Code:
<body onload="Load('slide');" >
Move its code to here (also highlighted):
Code:
onload=function(){toggleSound(document.images.bob);
if(document.getElementById&&document.getElementById('sndC'))
document.getElementById('sndC').style.display='';
if(start_music_onload){
Load('slide');
toggleSound(document.images.bob);
document.images.bob.src = document.images.bob.lowsrc;
};
};
As for the missing code, add it back (highlighted) here:
Code:
. . . kground-color:#D1E5EF;
}
</style>
</head>
<body>
<!--[if IE]>
<script type="text/javascript">
if(mpIsInstalled)
document.write('<object id="sound" height="0" width="0"'+
' classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">\n'+
'<param name="playCount" value="20000">\n'+
'<\/object>\n');
else
document.write('<bgsound id="sound" src="" loop="-1">')
</script>
<![endif]-->
<div id="maincontent">
<div id="box1" class="slide :-650:-50 . . .
Working here in the three browsers I've tested (FF, Opera, and IE).
Bookmarks