Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

drop down menu layered behind the text area

Status
Not open for further replies.

nannu

Programmer
Jul 2, 2000
5
US
Hi,
I have a header file, which is a drop down menu, the body of the file has text area, and text box, but the menu is layered behind the text area. Is there any way, that the textarea can be put behind the menu.
thanks in advance
-nannu [sig][/sig]
 
Sure, just set the zorder property. I'm not sure right off if high or low is on top, but I'm sure you could look it up somewhere...



Happy Coding!
~BenDilts( void ); [sig][/sig]
 
already the menu has the highest z-index, any other ideas.. please [sig][/sig]
 

Has some information in their FAQ area for their hierMenus about this problem. I don't know if what they say there will help but you may want to give it a look.

Crystal
crystals@genesis.sk.ca

--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde
 
This is a browser problem that has no fix that I've ever found. I don't think IE has this problem, but Netscape always has form elements on top, no matter what the z-order. Just put your form elements further down the page where they do not obscure your menu.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
This is a problem with the browser due to how it is rendered. The BROWSER generates all of the code for the page, but the OS generates the form elements (notice how your form elements show up slightly different in the same browser on different platforms?). Therefore, the form elements will appear to be hovering over the rest of the web page regardless of the z-order. Sorry about your luck.

We found that you have to arrange your page as best as possible to avoid this.
 
You could try putting your form elements on a layer, and then set visibility=hidden on that layer when you want to put something in front of it. I don't know if that would work or not... never tried it.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
Tom,

Yes that does work, I have seen sites using it. It does look a little strange in certain cases when the underlying controls on the page disapear! LOL

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top