#1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2004
    Posts
    996
    Rep Power
    16

    Div on top of flash


    Hi,

    Is it possible to place a div on top of a flash animation? When i place it on top of the flash, it dissapears, but shows up on the rest of the page.

    this is the code i am using:
    Code:
    <div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:100; left: 114px; top: 359px; visibility: visible; overflow: visible;"><img src="flap.gif" width="146" height="18"></div>
  2. #2
  3. Thanks Johnny Hart (BC) R.I.P.

    Join Date
    May 2003
    Location
    Dallas
    Posts
    5,262
    Rep Power
    1960
    Compile your Flash with wmode=opaque. If you can't do that, add it to a param element;
    Code:
    <object type="application/x-shockwave-flash"
            data="some.swf">
      <param name="wmode" value="opaque">
      <p>alternative content</p>
    </object>
    If you're still using the invalid embed element, include the attribute wmode="opaque".

    cheers,

    gary
    There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

    My html and css workshop, demos and tutorials.
    Ask a better question, get a better answer.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2004
    Posts
    996
    Rep Power
    16
    many thanks!

IMN logo majestic logo threadwatch logo seochat tools logo