SpellZ
Regular Member
- Feb 8, 2009
- 358
- 319
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
<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