z-index seems to fail in FF on iframe/object combination

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bart Van der Donck

    z-index seems to fail in FF on iframe/object combination

    Hello,

    I'm having difficulties to understand why the code below doesn't work.
    The idea is to generate an <iframe> with a higher z-index compared to
    an <object>. In Microsoft Internet Explorer 6, everything works fine,
    but Firefox/Netscape seems to have problems with this construction.

    Am I overlooking something ?

    -------------------------------------------
    START HTML CODE
    -------------------------------------------

    <html>
    <body>

    <div style="z-index:0;positio n:absolute;left :50px;top:50px; ">
    <OBJECT classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macrom edia.com/pub/shockwave/cabs/flash/swflash.cab#ver sion=5,0,0,0"
    WIDTH="550" HEIGHT="210">
    <PARAM NAME=movie
    VALUE="http://www.gazelleworl dwave.com/images/paradise_to.swf ">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE=#000000>
    <embed src="http://www.gazelleworl dwave.com/images/paradise_to.swf "
    quality="high" bgcolor="#00000 0" WIDTH="550" HEIGHT="210"
    TYPE="applicati on/x-shockwave-flash"
    PLUGINSPAGE="ht tp://www.macromedia. com/shockwave/download/index.cgi?P1_Pr od_Version=Shoc kwaveFlash"/>
    </OBJECT>
    </div>

    <div style="z-index:1;positio n:absolute;left :100px;top:70px ;">
    <iframe width="200" height="150" src="http://www.google.com/">
    </iframe>
    </div>

    </body>
    </html>

    -------------------------------------------
    END HTML CODE
    -------------------------------------------

    Thanks,
    --
    Bart

  • Thomas 'PointedEars' Lahn

    #2
    Re: z-index seems to fail in FF on iframe/object combination

    Bart Van der Donck wrote:
    [color=blue]
    > [...][/color]

    Wrong newsgroup, this has nothing to do with client-side scripting.
    Try comp.infosystem s.www.authoring.stylesheets (and prepare to be
    barbecued for the Flash).


    PointedEars

    Comment

    • Bart Van der Donck

      #3
      Re: z-index seems to fail in FF on iframe/object combination

      Thomas 'PointedEars' Lahn wrote:
      [color=blue]
      > Wrong newsgroup, this has nothing to do with client-side scripting.
      > Try comp.infosystem s.www.authoring.stylesheets (and prepare to be
      > barbecued for the Flash).[/color]

      That happens to anybody every now and then - for whatever reason :-)

      Follow up to comp.infosystem s.www.authoring.stylesheets

      --
      Bart

      Comment

      Working...