Attn Smart People: please help with code for music on blog!
-
I saw a member post this code for music on a blog
<!– Begin Music Section –>
<script language=”javascript”>
function BeginMusic(){
if(document.MusicForm.snd.value == ‘Music on’)
{
document.all.music.src=’https://www.sharemation.com/parsa1976/Zebigniew%20Preisner%20-%20Dekalog%20VIII%20-%203.WMA’;
document.MusicForm.snd.value = ‘Music off’;
}
else
{
document.all.music.src=”;
document.MusicForm.snd.value = ‘Music on’;
}
}
</script>
<center><form name=”MusicForm”>
<input name=”snd” type=”button” value=”Music on” OnClick=”BeginMusic()”>
</form></center>
<bgsound id=music loop=-1 autostart=”true” >
<!– End Music Section –>But I don’t know what to fill in with in the code to make it work. Can someone please enlighten me on this, as well as where I can find the file name for the music on my computer. I am really clueless!!
- The topic ‘Attn Smart People: please help with code for music on blog!’ is closed to new replies.