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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

html - menu behind div layer? 2

Status
Not open for further replies.

ThomasJSmart

Programmer
Sep 16, 2002
634
Iv made a div layer apear in my page, problem is there is a menu on my page to, (regular html SELECT menu) and this menu wont go behind the background of my layer :(

how do i do this? if possible...

thanks,
Thomas

I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
place the select box in a layer and make this layer disappear when the menu layer appears and vice versa
 
no need to do that for Gecko based browsers BTW.

You could also just toggle the visibility of the select directly in your code by using :

document.formName.selectName.style.visibility = "hidden"; // and "visible" to show it again

Gary Haran
 
Wicked, thanks :) it works! I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top