Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:27

HTML hidden behind 'hidden' menu.


Poster: Shap5202
Dated: Tuesday November 1 2005 - 3:02:57 GMT

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:
with(milonic=new menuname("Summary_nav")){
                  alwaysvisible=1;
                  orientation="horizontal";
                  style=sectionMenuStyle
                  left=20;
                  
             ...items....
}


Poster: Ruth
Dated: Tuesday November 1 2005 - 16:03:53 GMT

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


Poster: Shap5202
Dated: Tuesday November 1 2005 - 22:16:13 GMT

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.