SWFObject und wmode – DIV über flash Film

Für das Archive

wenn an einen Flash Film hat und darüber einen DIV Containter positionieren will (hover-menu), dann hilft nur der Parameter wmode. Mit dem SWFObject übergibt man dies als Parameter:

<script src="http://swfobject.googlecode.com/svn/trunk/swfobject/swfobject.js" type="text/javascript"></script><script type="text/javascript">// < ![CDATA[
        /**
         * @param playerUrl
         * @param autoplay
         */
        function loadVideo(playerUrl, autoplay) {
          swfobject.embedSWF(
              playerUrl + '&#038;rel=1&#038;border=0&#038;fs=1&#038;autoplay=' + (autoplay?1:0),
              'player', '489', '400', '9.0.0',
              false,
              false,
              {
                  allowfullscreen: 'true',
                  wmode: 'transparent' // the param
              }
          );
        }
// ]]></script>

Related Posts:

[CSS] – CSS 3.0 – http://www.css3.info/

Hallo,

das neue CSS 3.0, was kommt? was wird anders? welche Browser werden unterstützen was?

eine nette Seite ist http://www.css3.info wo man unter anderem einen Browsertester findet.

Ich bin auch sehr überrascht, wie gut der Konqueror gegenüber dem Firefox abschliesst.

Über den IE 6 möchte ich gar nicht reden 😉

Update:
Browsertests

  • Linux
  • Opera
  • From the 43 selectors 25 have passed, 3 are buggy and 15 are unsupported (Passed 346 out of 578 tests)
  • Firefox (Iceweasel)
  • From the 43 selectors 26 have passed, 10 are buggy and 7 are unsupported (Passed 357 out of 578 tests)
  • Konqueror
  • From the 43 selectors 37 have passed, 6 are buggy and 0 are unsupported (Passed 570 out of 578 tests)
  • IE 6
  • From the 43 selectors 10 have passed, 1 are buggy and 32 are unsupported (Passed 276 out of 578 tests)

  • MAC OS
    • Firefox
    • From the 43 selectors 26 have passed, 10 are buggy and 7 are unsupported (Passed 357 out of 578 tests)
    • Safari
    • From the 43 selectors 21 have passed, 7 are buggy and 15 are unsupported (Passed 336 out of 578 tests)

    Related Posts:

    [CSS] – 53 CSS Techniken ohne die man nicht mehr leben könnte

    Sehr nett und muss man einfach mal fürs Archive speichern

    http://www.smashingmagazine.com/category/css/

    Ich zitiere:

    ist wichtig, noch wichtiger aber ist, dass man es richtig anwendet und vor allem dass man es anwendet :)) Es gibt extrem viele Infos zu CSS im Web zu finden – aber nirgendwo fand ich eine einiger massen komplette Übersicht an aktuellen Techniken. Ich bin jetzt auf einen Link gestossen, den ich euch nicht vorenthalten möchte, sieht es euch an und vor allem, benutzt CSS 😉

    via (Peter Bucher)

    Related Posts: