Playing music

P

Peter Aitken

A client wants to play music automatically when someone opens the home page.
OK, that's easy enough. But she also want the same piece to continue
playing, without interruption, if the user navigates from the home page to
another page on the site. Is this possible?

TIA,
 
R

Ronx

Requires frames or a pop-up window. The pop-up will not work in most
modern browsers with pop-up blockers, which leaves frames, and all the
problems frames bring with them.
 
N

neutrino

Peter said:
A client wants to play music automatically when someone opens the home page.
OK, that's easy enough. But she also want the same piece to continue
playing, without interruption, if the user navigates from the home page to
another page on the site. Is this possible?

yes but it must be on a "page" that's always Open - unneffected by
navigation to another page - so I see the only way to do that would be
to place the sound file within a "Frame" of the page, you could
possible have a top frame to the site, or left side frame and use
either of these to contain your navigation links to the other pages of
the site - the Frame would never change, the other pages of the site
would all open up in the main area of the site, and the sound file can
also reside in the (top or side) frame.. and play continually.
Might of course be a thought to include a "stop/start" button ~ just to
cater for those who prefer peace & quiet, but with the right
appropriate music for the site, it should be good, the web after all
does not have to be static and quiet anymore! interactivity, 3d,
animation, sound and motion~ :) .... but no doubt many will
disagree.
( flash streaming would be my suggestion, for the sound )(or 'wma'
format)
 
T

Trevor L.

neutrino said:
Peter Aitken wrote:
yes but it must be on a "page" that's always Open - unneffected by
navigation to another page - so I see the only way to do that would be
to place the sound file within a "Frame" of the page

And remember that you can make the always open frame very small so that it
is not actually seen
This should work:
<frameset cols="1,*">
<frame src="music.html"> <!-- this file contains the sound -->
<frame src="main.html"> <!-- this is the main html file -->
</frameset>
 

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