how do I set up contiuous sound in frontpage website

G

Guest

My sound clip inserted in various pages restarts everytime a different page
is opened.

How can I play the same sound clip continuously thru all pages without
restarting?
 
T

Trevor L.

Alex said:
My sound clip inserted in various pages restarts everytime a
different page is opened.

How can I play the same sound clip continuously thru all pages without
restarting?

I noticed a similar query a while ago. I should have saved my reply and
reposted it. Anyway, I'll try to replicate what I posted.

The trick is to place the sound clip in a frame which is almost invisible,
and put the rest of the site in the second frame.
Any links back to the home page should link instead to the second frame.

Home Page
<frameset rows="1,*">
<noframes>
<body>
To view this document, you need a frames-compatible browser
such as Netscape 2.0 and above.
</body>
</noframes>

<frame src="sound.html" />
<frame src="index_new.html" name="index_new" />
</frameset>

sound.html contains the code to open the audio file.
<div style="display:none">
<!-- code to open the audio file. -->
</div>
The style will ensure it is invisible.

index_new.html is your pseudo home page which you link others back to.

You may be able to use
<frameset rows="0,*">
but I don't know
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top