Placer du Flash sous du HTML

Les objets Flash ont parfois du mal à s'intégrer avec le HTML/CSS. Par exemple, un menu déroulant créé en HTML/CSS passera sous l'objet Flash, alors qu'on aimerait bien que le Flash ne le cache pas et que le menu s'affiche par dessus l'objet Flash. Le plugin Flash Player ne prend pas en compte la propriété CSS z-index, mais il existe le paramètre Flash wmode.

Ajoutez ceci à la balise <object> :

<object ... >
   ...
   <param name="wmode" value="transparent" />
   ...
 </object>

et ceci à la balise <embed> :

<embed
   ...
   wmode="transparent"
   ...>
 </embed>

Comments

Écrire un nouveau commentaire

The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.

© 2009-2011 Linalis.com | Tous les articles sont sous licence CC by-sa | login

Formations Drupal | Formations Pentaho | Formations LPI | Contactez-nous