473,378 Members | 1,309 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,378 software developers and data experts.

How to solve a layer above a combobox

I have a layer which may above some form controls, eg, combo box at
background.
I found that the combo box is always above the layer,
it doesn't matter that I set the z-index of layer to larger value.

Thanks for help.

Aug 1 '06 #1
8 4556
Els
Cylix wrote:
I have a layer which may above some form controls, eg, combo box at
background.
I found that the combo box is always above the layer,
it doesn't matter that I set the z-index of layer to larger value.
How about giving a url?

And why do you want to hide form controls?

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/

Now playing: Rush - Closer To The Heart
Aug 1 '06 #2
Els wrote:
How about giving a url?
I am sorry for the the site is not lanch yet.

I have found two work arounds by
(1) using iframe, which always above all elements.
(2) Do use combo box, but using some <objectto replace the combobox
control.

Please advise.

Aug 1 '06 #3
Els
Cylix wrote:
Els wrote:
>How about giving a url?
I am sorry for the the site is not lanch yet.
Then make a simple example and upload that somewhere. It's difficult
to debug code without the code, don't you think?
I have found two work arounds by
(1) using iframe, which always above all elements.
(2) Do use combo box, but using some <objectto replace the combobox
control.

Please advise.
Don't use an iframe.
I can't say anything about number 2, as I still have no idea what
you're really trying to accomplish. Why do you want to hide form
controls?

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/

Now playing: Rush - Time Stand Still
Aug 1 '06 #4
"Els" <el*********@tiscali.nlwrote in message
news:1o***************************@40tude.net...
Cylix wrote:
>Els wrote:
>>How about giving a url?
I am sorry for the the site is not lanch yet.

Then make a simple example and upload that somewhere. It's difficult
to debug code without the code, don't you think?
>I have found two work arounds by
(1) using iframe, which always above all elements.
(2) Do use combo box, but using some <objectto replace the combobox
control.

Please advise.

Don't use an iframe.
I can't say anything about number 2, as I still have no idea what
you're really trying to accomplish. Why do you want to hide form
controls?

I realize I'm pulling out my crystall ball, but I think the OP is saying he
has a layer (probably through javascript) that is positioned on the page
above a form control. When the layer is long enough instead of going "on
top" of the form (input field, select field, whatever) the layer is
displayed below it. I've had that problem before also.

But I'm afraid I can't remember now how I dealt with that. Possibly changed
the z-index? For some reason, I'm thinking that didn't even work.

If this is the issue, maybe someone else can give a solution?

--

David
Aug 1 '06 #5
Els
feed_sheep wrote:
"Els" <el*********@tiscali.nlwrote in message
news:1o***************************@40tude.net...
>Cylix wrote:
>>Els wrote:

How about giving a url?
I am sorry for the the site is not lanch yet.

Then make a simple example and upload that somewhere. It's difficult
to debug code without the code, don't you think?
>>I have found two work arounds by
(1) using iframe, which always above all elements.
(2) Do use combo box, but using some <objectto replace the combobox
control.

Please advise.

Don't use an iframe.
I can't say anything about number 2, as I still have no idea what
you're really trying to accomplish. Why do you want to hide form
controls?

I realize I'm pulling out my crystall ball, but I think the OP is saying he
has a layer (probably through javascript) that is positioned on the page
above a form control. When the layer is long enough instead of going "on
top" of the form (input field, select field, whatever) the layer is
displayed below it. I've had that problem before also.

But I'm afraid I can't remember now how I dealt with that. Possibly changed
the z-index? For some reason, I'm thinking that didn't even work.

If this is the issue, maybe someone else can give a solution?
Now, here's my crystal ball too then, cause your explanation is either
making it even more obscure to me, or, both you and OP are using the
term 'layer' where I'm used to read 'drop down menu'.

If the latter is the case, yes, I've heard about that problem too. The
form controls will 'shine through' the dropdowns.

I found two different answers while searching; one was "form controls
will always peek through, just like Flash and Active-X", and the other
one came up with a workaround that went over my head, since it's
javascript:
http://groups.google.com/group/alt.h...00ad0fc06b4940

HTH

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
Aug 1 '06 #6
Cylix enquired:
I have a layer which may above some form controls, eg, combo box at
background. I found that the combo box is always above the layer, it
doesn't matter that I set the z-index of layer to larger value.
If this is the issue, maybe someone else can give a solution?
Form controls typically are drawn using native OS routines - routines
that don't understand Javascript, or CSS; those routines may not even
know that they're part of a web-page. Covering-up form controls is
therefore something that is not likely to work reliably and consistently.
--
Jack.
http://www.jackpot.uk.net/
Aug 1 '06 #7
Els wrote:
I found two different answers while searching; one was "form controls
will always peek through, just like Flash and Active-X", and the other
one came up with a workaround that went over my head, since it's
javascript:
http://groups.google.com/group/alt.h...00ad0fc06b4940
set display:none is not a good solution for me,
Because sometime, the layer may just cover half of the form
control(combobox),
set the display:none to the control will make the whole control hidden.

Thanks Els anyway.

Aug 2 '06 #8
http://www.javascripttoolbox.com/lib/popup/example.php

Here is a "Covers Select Boxes Automatically" effect on the bottom of
the page,
Any one knows how to do that?

Aug 2 '06 #9

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

Similar topics

2
by: Subhakant | last post by:
Hi, I got a problem while renendering a menu and combobox on a page. The problem is stated below. As per my requirement I have to display a menu on top of the page and a combo box just below...
1
by: PAD | last post by:
I have written a javascript routine that populates a parent document with a series of <iframe>s. Each <iframe> receives its contents from a series of separate smaller HTML files. Of course my NN...
3
by: Merlin | last post by:
Hi there, I am trying to create a form with an dynamic field that can be shown or hidden. As I saw for example on google it is possible with JS to show a layer and move the content underneath...
1
by: rbg | last post by:
Hi, I am trying to understand the layering concept with the ASP.NET 2.0 apps. I have a ASP.NET 2.0 Web app which has 3 layers Presentation layer which contains UI elements and Input...
2
by: Cylix | last post by:
Combobox is always over all layer in a page. I remember that there is solution on a javascript tool kit. Does anyone know the method to workaround this?
2
by: ashoknepc | last post by:
i am learning asp.net ajax, i want to show thumbnails of images on the page when i mouseover the thumbnail it should get enlarged into a layer above it. and this layer should get hide on...
1
by: Rob Meade | last post by:
Hi all, My web app is using a layered design, whereby I have UI/BOL/DAL layers.... So far things have been running fine and as the first app using this approach I've seen some real benefits......
0
by: drawing in aspnet | last post by:
Question about putting the data layer in a separate class library. I keep reading that the data layer should be separated from the presentation layer and put in its own class library. I am...
3
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I'm confused about Data Access Layer and Data Object Layer. How are they related? Which layer will be affected when the underlying database structure is changed? Which layer will be affect when...
1
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.