HOWTO optionally stop background sound from playing

D

Dennis Coleman

What is the best way to allow a user to stop
a HTML page background sound from playing in
FrontPage 200X?

Here is the HTML code in the header that plays the
background music.

<bgsound src="audio/mainpage.mid" loop="-1">

I need some kind of conditional statement to
stop the sound from playing if the user prefers that.

Is it possible to use a META system varible
that the user can change and check the value?

If so can you give an example?
 
M

Mike Mueller

: What is the best way to allow a user to stop
: a HTML page background sound from playing in
: FrontPage 200X?
:
: Here is the HTML code in the header that plays the
: background music.
:
: <bgsound src="audio/mainpage.mid" loop="-1">
:
: I need some kind of conditional statement to
: stop the sound from playing if the user prefers that.
:
: Is it possible to use a META system varible
: that the user can change and check the value?
:
: If so can you give an example?

My limited knowledge knows of only 2 ways to do this.
Option #1 is to have the user click the stop button on the
browser. The other option is to duplicate the webpage and
remove the music from that copy. Place a link on the main
page called 'no music' and target the duplicate of the page.
 

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