By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,650 Members | 753 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,650 IT Pros & Developers. It's quick & easy.

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

P: n/a
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;position:absolute;left:50px;top:50px;">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH="550" HEIGHT="210">
<PARAM NAME=movie
VALUE="http://www.gazelleworldwave.com/images/paradise_to.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#000000>
<embed src="http://www.gazelleworldwave.com/images/paradise_to.swf"
quality="high" bgcolor="#000000" WIDTH="550" HEIGHT="210"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"/>
</OBJECT>
</div>

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

</body>
</html>

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

Thanks,
--
Bart

Jan 13 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Bart Van der Donck wrote:
[...]


Wrong newsgroup, this has nothing to do with client-side scripting.
Try comp.infosystems.www.authoring.stylesheets (and prepare to be
barbecued for the Flash).
PointedEars
Jan 13 '06 #2

P: n/a
Thomas 'PointedEars' Lahn wrote:
Wrong newsgroup, this has nothing to do with client-side scripting.
Try comp.infosystems.www.authoring.stylesheets (and prepare to be
barbecued for the Flash).


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

Follow up to comp.infosystems.www.authoring.stylesheets

--
Bart

Jan 13 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.