Continously playing background music
-
435pJJau251
- Posts: 44
- Joined: 17 Jun 11
- Location: China
- Trust:
17 Aug 11 3:45 am
Continously playing background music
Does any one know how to make the background music play in the background of a site with out restarting when they move to a different page. I would like to have it continously playing in the background while they are browsing. I know how to get the music in the background, but not continously through the wholesite without restarting. I have tried to look online but i'm not sure what to call it other than backgrond music script.
-
jethro.aragon
- Posts: 67
- Joined: 11 Aug 11
- Location: Philippines
- Trust:
17 Aug 11 4:23 am
Hi 435pJJau251,
I read your post and I got curious. I experimented a little bit and found a clever way to do it. You can try the steps below:
first: create bgmusic.html
*----------------------------------------------------------*
<html>
<body>
<bgsound src="songname.mp3" loop=1>
</body>
</html>
*-----------------------------------------------------------*
second: create mainpage.html ( you could change this to index.html if you decide to make it the home page)
*-----------------------------------------------------------*
<html>
<body topmargin = 0 leftmargin = 0 >
<iframe src = "mainbody.html" width = 100% height = 100%/>
<iframe src = "bgmusic.html" width = 0% height = 0%/>
</body>
</html>
*-----------------------------------------------------------*
mainbody.html should be your main contents with the navigation links. This worked on my end and you might want to try. Just do a little bit of tweaking with the codes and you could make it look seamless.
I hope this works for you.
Jethro
I read your post and I got curious. I experimented a little bit and found a clever way to do it. You can try the steps below:
first: create bgmusic.html
*----------------------------------------------------------*
<html>
<body>
<bgsound src="songname.mp3" loop=1>
</body>
</html>
*-----------------------------------------------------------*
second: create mainpage.html ( you could change this to index.html if you decide to make it the home page)
*-----------------------------------------------------------*
<html>
<body topmargin = 0 leftmargin = 0 >
<iframe src = "mainbody.html" width = 100% height = 100%/>
<iframe src = "bgmusic.html" width = 0% height = 0%/>
</body>
</html>
*-----------------------------------------------------------*
mainbody.html should be your main contents with the navigation links. This worked on my end and you might want to try. Just do a little bit of tweaking with the codes and you could make it look seamless.
I hope this works for you.
Jethro
-Jethro-
"Knowledge is of no value unless you put it into practice.”
"Knowledge is of no value unless you put it into practice.”
-
affil96754
- Posts: 176
- Joined: 24 Apr 09
- Location: Australia
- Trust:
17 Aug 11 6:20 am
Guys dont answer these rosetta stone spammers
