galeazzo Posted February 7, 2005 Share Posted February 7, 2005 Bonjour, j'ai un problème pour insérer un <BGSOUND> sous Firefox. J'ai essayé <script LANGUAGE="JavaScript"> <!-- Begin var MSIE=navigator.userAgent.indexOf("MSIE"); var NETS=navigator.userAgent.indexOf("Netscape"); var OPER=navigator.userAgent.indexOf("Opera"); if((MSIE>-1) || (OPER>-1)) { document.write("<BGSOUND SRC=movie/sarde.mp3 LOOP=INFINITE>"); } else { document.write("<EMBED SRC=movie/sarde.mp3 AUTOSTART=TRUE "); document.write("HIDDEN=true VOLUME=100 LOOP=TRUE>"); } // End --> </SCRIPT> <!-- fin > ça ne marche pas. Merci de vos réponses Link to comment Share on other sites More sharing options...
Scaramouche Posted February 7, 2005 Share Posted February 7, 2005 euh... c'est pas bien de faire des doublons http://www.pcinpact.com/forum/sujet_41752.htm en plus y'a un topic de centralisation pour Firefox , dans le quel Pipotron a déjà été soumettre ta question après avoir locké l'autre topic dans logiciel (qui était moins détaillé d'ailleurs) ... http://www.pcinpact.com/forum/index.php?sh...ndpost&p=813860 donc fermeture Edit : coorection des leins qui était faux.. c'est un triplon en fait... EDIT de theo : suppression du maudeaupliz Link to comment Share on other sites More sharing options...
Nyro Xeo Posted February 14, 2005 Share Posted February 14, 2005 <bgsound> est une balise propriétaire à IE, c'est-à-dire qu'elle ne fonctionne que sous IE. Mais je te conseille de laisser tomber tout simplement la musique sur ton site ! Parce que c'est nul ! ^^ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.