|
|
<body background="#111111" LINK="#ffff00" vlink="#000000" BGSOUND
SRC="CFdocs/ocean.wav" LOOP=INFINITE>
<EMBED SRC="CFdocs/ocean.wav" AUTOSTART="true" HIDDEN="false" LOOP="true">
That code does not show any control for a user to turn off the music, it
just shows how the music is embedded in the page.
How does a user turn off this when the want? Then you need to decide
how to get that information to a server for storage.
This idea just popped into my head, you could probably do this with
cookies. You can use JavaScript to write the data to a cookie in the
client and read the cookie with ColdFusion to put onto future pages, or
just do it all with JavaScript, your choice.
|
|