AllExperts > DHTML 
Search      
DHTML
Volunteer
Answers to thousands of questions
 Home · More DHTML Questions · Answer Library  · Encyclopedia ·
More DHTML Answers
Question Library

Ask a question about DHTML
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Erica Brown
Expertise
I can answer questions dealing with Dhtml programming, CSS1 and 2, DTD, ASP, Javascript, Database programming, and Html. I can also answer some begginer questions dealing with C, C++, Java, and CGI.

Experience
I have over 3 years experiance in web programming and application development. Currently, I am doing some programming for a non-profit organization in order to maximize their working efforts to help others. I am programming some Access databases for them, and will be converting these programs into an executable using either C++ or VB.
 
   

You are here:  Experts > Computing/Technology > HTML/XML > DHTML > The layer hidden behind the text menu

DHTML - The layer hidden behind the text menu


Expert: Erica Brown - 3/2/2005

Question
Hello Erica,
           I am a Web Designer. I am facing a problem in DHTML in a site called www.hyperstrings.com. Here i have used div tag to show sub menus and there is one jumpmenu below in the same page. Now when i view the div layer it hides behind the jump menu. Please tell me how to bring the div layer over the jumpmenu in DHTML. I am using Dream Weaver MX 2004.

Answer
Hello and thank you for the question!

The problem is as follows:
You are creating a DHTML element which doesn't have precedence over windows elements. The SELECT element is a windows element and will therefore be shown on top of DHTML elements any day. The same goes for the text boxes and buttons to, I beleive.
The best approach for your issue is to put the SELECT box inside a div and give it an id. Then when the menu is showing, hide the SELECT box. When the menu is not showing, make the SELECT box visible again.

I hope that helps you somewhat to an answer to your problem. In case you want to know, setting the z-index will not work either because that only works for purely DHTML elements, not windows elements. I beleive this is being worked on in some of the browsers, but I don't know for sure.

Thanks for the question and have a nice day!
Erica

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.