vous pouvez analiser et me dire la faille et me le changer si possible . .. merci
< SCRIPT LANGUAGE=javascript>
/ *
Liste de MP3 à diffuser en fond sonore
SCRIPT EDITE SUR L´EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
titreMP3 = Benny benassi- Satisfaction;
cheminMP3 = C:\Documents and Settings\Lau\Bureau\Ma muz\benny benassi\Hypnotika - 2003\Satisfaction.mp3;
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=´´> Selectionnez un fond sonore\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>