Bijoul !
Bon voila, je vous donne mon truc en java, il marche, mais je veux mettre mes musiques infinis... loop="infinite" marche pas
titreMP3 = new Array;
cheminMP3 = new Array;
titreMP3[0] = " Palais Mojo";
cheminMP3[0] =
"http://meta.sf.free.fr/musiques/06PalaisMojo.mid"<BR>; loop="infinite"
titreMP3[1] = " Chant d´Apaisement";
cheminMP3[1] =
"http://meta.sf.free.fr/musiques/06ChantApaisement<BR>.mid";
titreMP3[2] = " Temple du Temps";
cheminMP3[2] =
"http://meta.sf.free.fr/musiques/05TempleTemps.mid<BR>";
titreMP3[3] = " Village Cocorico";
cheminMP3[3] =
"http://meta.sf.free.fr/musiques/05VillageCocorico<BR>.mid";
titreMP3[4] = " Foret Kokiri";
cheminMP3[4] =
"http://meta.sf.free.fr/musiques/05ForetKokiri.mid<BR>";
titreMP3[5] = " Domaine de Zora";
cheminMP3[5] =
"http://meta.sf.free.fr/musiques/05DomaineZora.mid<BR>";
titreMP3[6] = " Place du Marché";
cheminMP3[6] =
"http://meta.sf.free.fr/musiques/05PlaceMarche.mid<BR>";
function ChangeMp3(formulaire)
{
numero =
formulaire.ListeMP3.options[formulaire.ListeMP3.se
lectedIndex].value;
if(document.getElementById && document.all && numero ! = " ")
{
document.getElementById("blocson").innerHTML = " <EMBED SRC=\""+cheminMP3[numero]+"\" AUTOSTART=TRUE WIDTH=1 HEIGHT=1>";
}
}
if(document.getElementById && document.all)
{
document.write("<FORM><SELECT NAME=ListeMP3 onChange=\"ChangeMp3(this.form)\">")
document.write("<OPTION VALUE=´´> Musiques de Fond Zelda ! \n");
for(i=0;i<cheminMP3.length;i++)
{
document.write("<OPTION VALUE=\""+i+"\"> " +titreMP3[i]+"\n");
}
document.write(´</SELECT></FORM><DIV ID=blocson></DIV>´)
}
< /SCRIPT>
voila, comment faire ?