Page 1 of 1

Sub menu hide behind dropdown menu

Posted: Wed Aug 23, 2006 1:43 am
by marchmirchi
Hi!

I have vertical menu in my page and it has sub menu also. the menu work perfectly on all pages but whenever a page contain a dropdown menu in the middle of the page the sub hide behind the dropdown. here with am attaching the screen shot of this problem.


Image

Posted: Wed Aug 23, 2006 1:47 am
by RobertGonzalez
That is a result of how the browser handles the layering of those menus. That is a common problem and I am not sure there is a fix for it, other than changing the styles on the <div> tag that generates the menus. I think.

Posted: Wed Aug 23, 2006 2:42 am
by onion2k
Moved to Clientside.

Posted: Wed Aug 23, 2006 3:04 am
by daedalus__
I've never had that problem.

Try messing around with z-indexes.

Posted: Wed Aug 23, 2006 8:54 am
by feyd
The dropdowns are drawn last, always. The only fix I've heard of is putting the dropdown into an iframe by itself if you're sticking with native ones. I haven't tried it, so for whatever that's worth. An alternative is making your own dropdowns with DHTML.

Posted: Thu Aug 24, 2006 12:50 am
by RobertGonzalez
I think you can avoid this issue using CSS based menus. I think.

Posted: Thu Aug 24, 2006 12:58 am
by daedalus__
Not using CSS?

I missed that.

Posted: Thu Aug 24, 2006 1:02 am
by RobertGonzalez
I think the OP is using javascript to generate the menus.

Posted: Thu Aug 24, 2006 1:12 am
by daedalus__
Well..

Javascript menus == past

Posted: Thu Aug 24, 2006 1:18 am
by asgerhallas
It can be fixed with iframe-layer. Just dynamically create an Iframe underneath your menu-layer, and then size it - it will cover the windows controls.

Here's a link...: http://www.wwwcoder.com/main/parentid/3 ... fault.aspx

Hope that'll help...

/Asger