Jump to content

Recommended Posts

Posted

Bonjour à tous,

Je viens d'intégrer à mon site internet ( http://www.dynamhit.org/ ) une bannière flash juste en dessous de mon menu déroulant. Le problème est que la bannière flash cache mon menu déroulant. J'ai cherché sur Google et je n'ai trouvé aucune solution qui fonctionne (et surtout qui fonctionne aussi bien sous FireFox que sous IE). Si quelqu'un avait la solution, je lui en serait éternellement reconnaissant :)

Merci à vous!

Posted

Merci pour ta réponse (très) rapide :)

J'ai ajouté cette ligne <param name="wmode" value="transparent"> à mon animation flash, et cela ne change rien.

Voici le code :

<script type="text/javascript">

AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','600','height','60','src','http://www.dynamhit.org/images/mythic','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','http://www.dynamhit.org/images/mythic' ); //end AC code

</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="600" height="60">

<param name="movie" value=&quot;http://www.dynamhit.org/images/mythic.swf" />

<param name="quality" value="high" />

<param name="wmode" value="transparent">

<embed src=&quot;http://www.dynamhit.org/images/mythic.swf" quality="high" pluginspage=&quot;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="600" height="60"></embed>

</object></noscript>

Comme tu peux le voir sur le site ( dynamhit.org ), cela ne fonctionne pas. :s

Posted

Comme tu peux le voir sur le site de Stu Nicholls ça fonctionne, donc il faut suivre à la lettre les explications et te référer à l'exemple. Tu n'as pas parlé de modifier ta feuille de style alors que dans les explications il y a :

So the answer is to add a little extra styling to the Flash object to make the background black, and menu 3 shows how with this styling we get back to the original look of the Flash object but with the flyouts now visible on top.

De plus il y a un peu de Javascript qui est nécessaire pour que cela fonctionne sous Internet Explorer 6 et 7.

Posted (edited)

Salut,

Si tu veux que ca fonctionne il faut ajouter le wmode 2 fois :

<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','600','height','60','src','http://www.dynamhit.org/images/mythic','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','http://www.dynamhit.org/images/mythic' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="600" height="60">
<param name="movie" value="http://www.dynamhit.org/images/mythic.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<embed src="http://www.dynamhit.org/images/mythic.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="600" height="60" wmode="transparent"></embed>
</object></noscript>

Par contre cette mehode ne fonctionne pas sous linux (ou la il te faudra utiliser des iframes pour feinter)...

Edited by rdd
  • 2 years later...
Posted

Merci pour vos réponses, je m'imaginais être obligé de modifier mon animation flash et la convertir en gif animé! ;)

Cela fonctionne parfaitement sur Firefox & Explorer mais pas sur Safari, qqu'un saurait-il pourquoi?

Merci,

C.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...