In un'altra discussione avevano proposto così :


Supponiamo per comodità di avere solo 2 frame SU e GIU

nel frame di SU carichi la musica mentre in quello di GIU ci metti i link Stop e Play
http://www.sarrabusagrumi.it/prova/...MusicaONOFF.htm
nel frameset
code:--------------------------------------------------------------------------------<html>
<head>
<title>Stacca la musica in un altro frame - by Longuflumini</title>
</head>

<frameset rows="*,*">
<frame name="superiore" src="SU.htm">
<frame name="inferiore" src="GIU.htm">
</frameset>

</html>--------------------------------------------------------------------------------


in SU.htm
code:--------------------------------------------------------------------------------<html>
<head>

<script language="JavaScript">
function playsound(sound) {
document.embeds[sound].play();
}

function stopsound(sound) {
document.embeds[sound].stop();
}
</script>

</head>
<body>
<embed src="01.mid" mastersound hidden="true" loop="true" autostart="true" volume="100" width=0 height=0></embed>


</body>

</html>--------------------------------------------------------------------------------
in GIU.htm
code:--------------------------------------------------------------------------------<html>

<head>

</head>

<body>
Play


Stop
</body>

</html>--------------------------------------------------------------------------------
e il gioco è fatto
prova !