To turn off the sound
1) Make sure the sound files are inserted using a Named Embed tag (usually just before the </body> tag)
<embed src="soundfile.mid" name="theNoise" id="theNoise" autostart="true" loop="true" width="0" height="0" hidden align="center">
2) Insert a link to turn the sound off
<a href="javascript
:killNoise();">No Sound (or insert an image here)</a>
3) Insert this one of these scripts in the HEAD section of each page
FOR FRAMED PAGES USE:
<script language="JavaScript" language="JavaScript"><!-- Hide It:
function killNoise() {
// The Embedded sound is in a framed page (frame is named "TheFrame")
parent.TheFrame.embeds['theNoise'].stop(); return false;
}
// ShowIt: --></script>
FOR UNFRAMED PAGES USE:
<script language="JavaScript" language="JavaScript"><!-- Hide It:
function killNoise() {
// The Embedded sound is in an Unframed Page
document.theNoise.stop();return true;
}
// ShowIt: --></script>
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________
"celticwords" <(E-Mail Removed)> wrote in message news:EB1E40C7-BE19-4E5E-A062-(E-Mail Removed)...
| I'm starting a new job where I have to maintain a website for the company.
| Most of it is very self-explanatory and I am grateful for that; but the
| website already has some music files on it that play automatically when you
| open the site. I would like to know how one can change the music to another
| selection of music, or how to make it stop playing the music altogether?
|
| If anyone can help me on this I would be truly thankful.