Web Hosting Talk







View Full Version : html page with sound


danieln
10-18-2005, 03:00 AM
i have js created a html site with music but the music keeps stoping when i load other pages ( so i have to click to start it again every time on each page). any idea how can i have the music continue on every page?

rain5017
10-18-2005, 03:46 AM
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>site title</title>
<link rel="stylesheet" href="css.css">
</head>

<frameset rows="25,*" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="musicpage" name="topFrame" scrolling="NO" noresize>
<frameset name="midFrame" rows="*" cols="*" framespacing="0" frameborder="NO" border="0">

<frame src="site page" name="mainfra" scrolling="YES" noresize id="mainfra">
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>

nnormal
10-18-2005, 09:52 AM
another less orthodox method is to use dhtml and show/hide the content instead of actully sending them to a new page. I do this with my site:

http://www.neohz.com

the one problem you might face is that the browser has to load all of the pages on start up (like flash) so if there are a lot of images it can take a while ot load.

also you might check out...

http://musicplayer.sourceforge.net/