How do I play a music file continuously on website


G

Guest

I would like the music file to continue to play no matter what web page you
go onto on my website. So it is like playing in the back ground and not just
on the Index page
 
Ad

Advertisements

D

David Berry

One way is to create a site with frames where the top frame is very small
and put the music in that frame.
 
T

Trevor L.

What I was thinking was a style such as
frame.x {width:1px ; height:1px; display:none;}

This would be totally invisible, wouldn't it?

I assume one can apply styles to frames
 
Ad

Advertisements

D

David Berry

You could try using CSS in for the BODY of the top frame. Ex:

body {
margin:0;
border:0;
padding:0;
height:1px;
overflow: hidden;
}


margin:0; - removes the body margin.
border:0; - removes the body border.
padding:0; - removes the body padding.
overflow: hidden; - this has the effect of hiding the scroll bars in
Internet Explorer.
 
Ad

Advertisements


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