473,320 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Z-index problem...

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...
Sep 22 '08 #1
2 3404
howa wrote:
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/
Sep 22 '08 #2
On Sep 22, 7:29*pm, Martin Honnen <mahotr...@yahoo.dewrote:
howa wrote:
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.
Sep 22 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Greg | last post by:
The following code works fine on Mozilla but generates an error* on IE, when the button calling the function is pressed and the slideshow is either on the first slide or last slide. * I can't...
22
by: DJ WIce | last post by:
Hi, I'm looking for a script to get the hi-est z-index on a page. I want my javascript menu to be always on top of the page (moves along on top when you scroll down). Does anyone know how to...
8
by: rdlebreton | last post by:
Hi, Folks! I've been trying to develop my own version of these draggable layers and I have been limiting myself to IE6...for now. I have looked at some other examples to get ideas of creating...
6
by: Kekec | last post by:
Hi! I have some zindex problem with DIV on my webform I have several asp:dropdownlist controls and in some case i want to show div in middle of that form but when I show that div every...
2
by: reynoldlariza | last post by:
Can somebody please help me, i tried playing around with IE6 and Firefox 2.0 browser for setting zIndexes and hide & show of divs. It seems to work to both. I tried repeatedly clicking on different...
2
by: sorobor | last post by:
dear sir .. i am using cakephp freamwork ..By the way i m begener in php and javascript .. My probs r bellow I made a javascript calender ..there is a close button ..when i press close button...
7
by: raknin | last post by:
Hi I have a carousel script. I want to load the carousel with a new set of pictures every time I press a button. The problem that I have that the script append the new pictures to the olds one...
1
Claus Mygind
by: Claus Mygind | last post by:
How come I can set this style element document.getElementById("popTime").style.left = "0px"; but not this document.getElementById("freqJobDiv").style.zIndex = "20"; I have two nested...
1
by: fgualda87 | last post by:
Hey I'm using this tooltip which uses prototype 1.6.1.js /* * Copyright (c) 2006 Jonathan Weiss <jw@innerewut.de> * * Permission to use, copy, modify, and distribute this software for any ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.