HTML hidden behind 'hidden' menu.

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Shap5202
Super Advanced
Super Advanced
Posts: 62
Joined: Thu Sep 29, 2005 2:36 pm

HTML hidden behind 'hidden' menu.

Post by Shap5202 »

Hey all,
I've posted this before but couldn't find the thread so starting a new one...

We have an application with sections, and a menu at the top of each section. Through javascript we allow the user to collapse/expand each section. The problem is, whenever a section is expanded, there appears to be a hidden div/iframe or something left behind where it used to be. I cannot post a URL, but here is a chunk from a screen shot which may help illustrate the problem

http://filebox.vt.edu/users/mashapir/img/milonic.JPG

As you can see, there is a select box in that section, and the left side of it is covered up by something, you cannot click on it (the covered part). If you collapse the original section that had the menu, the covered spot disappears as it was in a div that is now hidden. (it resides in what becomes <div style="display:none">)

Is there a function/method I can call that will basically reset/redraw the menus to their new location(s)?

I can attempt to post more screen shots if that might help. THanks again.

oh yah.. menu declared as

Code: Select all

with(milonic=new menuname("Summary_nav")){
						alwaysvisible=1;
						orientation="horizontal";
						style=sectionMenuStyle
						left=20;
						
             ...items....
}
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

You need to give us the html for the page, the menu data and any css so we can try and make a page and see what's happening.

Ruth
Shap5202
Super Advanced
Super Advanced
Posts: 62
Joined: Thu Sep 29, 2005 2:36 pm

Post by Shap5202 »

Ok... i think i fixed the problem..

i added
position="relative";

to the menu declaration and modified some of the surround style and that seems to move all the menu pieces with the divs.
Post Reply