assumning you are using a frameset to have one frame stay present (like a header), you could just put the background music in that header html page.
<bgsound src="XXX.au" loop="-1">
put the above in the head of the html (the -1 means forever). but bgsound only works in IE. I think you can use embed in NS. and put both in for both (I think).
Thanks for responding Dave, I went ahead and viewed your website, thats exactly what I'm looking for, with the exception of me needing multiple songs, I just need one song for my site. I'm a beginner with javascript. I didn't realize how complicated the script would be to accomplish my goal.
seems to me that you are asking if the LiveAudio plugin is already available. unless it has already been loaded i would think this would fail on most NS implementations. you probably have it loaded on your V4 and not on your 6. and i sure don't have it loaded on my NS7. the plugin may work fine in NS7 - i just don't have it.
i am sure i have seen a test for a plugin and if not there will download it (if the user accepts). not sure where i saw that example.
(FRAME)
One of the frame pages will stay open to serve all the other frame pages. Usually that would be the contents frame, (The one with the menu.) So put your music in it. It should play until you leave the site.
Note:
Music can be a sudden shock to someone that doesn't expect it to be there. Especially if the volume is too high. It might be better to give a choice to turn it on/off.
(MUSIC)
I think embed is now compatible in both browsers, and is preferable to bgsound. If you use both, you should code embed first, or the sound may be distorted.
I use:
<EMBED SRC="startrk.mid" volume="50" LOOP="false" hidden="true" WIDTH="100" HEIGHT="40" autostart="true">
Bookmarks