ti posto anche qualcos'altro perchè altrimenti è incapibile...
codice:
<script>
<!--
var beginHTML =
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" " +
"\"http://www.w3.org/TR/html4/loose.dtd\"> " +
"<html><head><title>brano<\/title></head><body>
<embed src=\"";
var endHTML =
".mid\" autostart=\"true\" width=\"0\" height=\"0\"> </p></body></html>";
function carica(brano) {
frames['schermo'].document.open();
frames['schermo'].document.writeln(beginHTML + brano + endHTML);
frames['schermo'].document.close();
}
function caricaList(genere){
var sfondo="../immagini/sfondo"+genere+".jpg";
document.getElementById("lista"+genere).style.display="block";
document.body.style.backgroundImage="url(sfondo)";
var x=1;
var brano="./musica/"+genere+"/SONG"+x;
for (;x<=10;x++){
carica(brano);
x++;
window.setTimeout("carica(brano)",5000);
}
}
-->
</script>
<--
un po' di roba -->
<iframe name="schermo" src="" width="1" height="0" frameborder="0"></iframe>
spero sia più chiaro...