Hi FrankC,
The background music that is incorporated into Publisher is written into the
code, and it may be that you won't be able to override that code. So, take
that out, and try incorporating your music using the script that you found.
I inserted the two code snippets from your link and the script seems to work
ok, as it does toggle between off and on. I did not need to insert the first
snippet in the head section. In fact, I also found that I could copy and
paste the second code snippet...the "body" snippet below "head" snippet in
the same code fragment, and it would still work. I am not saying that is
what you should do...just that it works, and is an example of how some of
these free scripts that say you have to insert some of it in the head
section will work even if you insert them into the body....and in fact works
when they are combined into one code fragment.
To get it to actually play and turn off your music, modify this portion of
the script:
src="http://YOURDOMAIN/YOURSONGFILE.mid
Substitute in your domain address, upload your .mid file, and then write the
path to where you upload the file, and change the file name to match your
file name.
Personally I would suggest putting your song in its own folder on your site,
perhaps called "songs", and at the same level as the index.htm file and the
index_files folder. Then your link would look like this:
src="http://YOURDOMAIN/songs/YOURSONGFILE.mid
And of course show care in how you write the path, with no spaces and
matching upper and lower case. If you upload the song file to your site,
then when you do a web preview the song should play. If it doesn't, check
the path to the music file...you probably didn't write it correctly. It
worked when I tried it.
I like good music too...I just like to choose when I listen to it and not
have it forced on me.
DavidF
>I appreciate your thoughts but I like Pachelbel's Canon in D major c.1680
> (alternates on the website with Beethoven's Fur Elise c.1810).
[quoted text clipped - 54 lines]
>> >
>> > http://CCI.name