I want to use javascript to play a sound when my site loads and then give the user the option to stop it using an onClick event. However my programming skills are not the best here is what i got so far:
<script type="text/javascript">
var soundfile="/media-bin/REM.mp3"
function playsound() {
}
</script>
</head>
<body onLoad="playsound()">
Any help would be appreciate
<script type="text/javascript">
var soundfile="/media-bin/REM.mp3"
function playsound() {
}
</script>
</head>
<body onLoad="playsound()">
Any help would be appreciate