Connecting Tech Pros Worldwide Forums | Help | Site Map

Z-index problem...

howa
Guest
 
Posts: n/a
#1: Sep 22 '08
Hello,

Consider a page with an Expandable SWF + Input Box :
http://howachen.googlepages.com/f1.html

[code]
==========
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>TEST</title>
</head>
<body>

<div style="margin-bottom:-80px;z-index:200">
<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="280" height="120">
<param name="movie" value="http://www.e-planning.net/es/soporte/
ExpRollOver.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="http://www.e-planning.net/es/soporte/ExpRollOver.swf"
wmode="transparent" quality="high" pluginspage="http://
www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="280" height="120" ></
embed>
</object>
</div>

<div style="z-index:100">
<input type="text" name="q" id="q" value="" />
</div>

</body>
</html>


==========

Even I have set the z-index, the text box is always on the top of the
SWF.

Any idea?

Thanks...

Martin Honnen
Guest
 
Posts: n/a
#2: Sep 22 '08

re: Z-index problem...


howa wrote:
Quote:
Even I have set the z-index, the text box is always on the top of the
SWF.
z-index applies only to positioned content.


--

Martin Honnen
http://JavaScript.FAQTs.com/
howa
Guest
 
Posts: n/a
#3: Sep 22 '08

re: Z-index problem...


On Sep 22, 7:29*pm, Martin Honnen <mahotr...@yahoo.dewrote:
Quote:
howa wrote:
Quote:
Even I have set the z-index, the text box is always on the top of the
SWF.
>
z-index applies only to positioned content.
>
--
>
* * * * Martin Honnen
* * * *http://JavaScript.FAQTs.com/
I have made up another example: http://howachen.googlepages.com/f2.html

[Code Changes]
============
<div style="position:relative;margin-bottom:-80px;z-index:200">
...
============

However, the input box is not accessible then...

THanks.
Closed Thread