HTML Help with SOUND

SpellZ

Regular Member
Joined
Feb 8, 2009
Messages
358
Reaction score
319
This is what I got...

<bgsound src="music/nameofsong.mp3" loop="0" id="sound" />

<script type="text/javascript">
function stop() {
document.getElementById("sound").src = "";
}
</script>

<input type="button" onclick="stop();" />


It all works... fine, but not up to my standard.

The button is so bad :(

What I want to accomplish is this...

A person goes on the site, music is playing, at the bottom of the page there is an 'onoff' option. They click 'off', it goes to regular, and the 'on' turns bold.

When they click on, viseversa happenes.

Is this possible with regular HTML :S

Having sucha headache here.. tried a lot
 
Hey guys, so I posted it at night (my time).
Maybe in the morning, there are a few more people on the forums and hopefully can help me out:fingersx:
 
This is what I got...

It all works... fine, but not up to my standard.

The button is so bad :(

What I want to accomplish is this...

A person goes on the site, music is playing, at the bottom of the page there is an 'onoff' option. They click 'off', it goes to regular, and the 'on' turns bold.

When they click on, viseversa happenes.

Is this possible with regular HTML :S

Having sucha headache here.. tried a lot


Have you looked at an app like Web Impact Audio or similar. It's a one off so you don't have to pay a monthly fee like some of the services out there. There should be other similar applications for doing what you want to do I believe.
 
Back
Top