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:28

Floating menu disappears on go back in IE

Poster: Deere-Steve
Dated: Monday October 1 2007 - 2:47:48 BST

Our users have been reporting this situation for a while and we are now finally able to reproduce it in at least one circumstance.

In general our application supports both a header and a footer floating menus (the footer looks like a sequence of buttons that can change page to page).

For the situation that we can reproduce we have a landing page that has just the header menu and then if we navigate to a page that just has the footer menu and we do a go back we are left without any menu on the landing page. A refresh will bring the menu back but that is not what a user should have to do and our business owner is pretty upset too. We were able to get around this situation by putting a function in the onload that checks to see if the menu was already loaded or not (we added a form variable that is initially set to false and on the first onload call it is set to true and when true we go ahead and call redrawMenus() which calls your drawMenus()

Here is a stripped down version of our landing page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<jsp:include page="MenuHeader.jsp" flush="true"/>

<SCRIPT language="JavaScript">

function redrawMenus() {
var form = document.getElementById("homePageForm");

if(form.redrawMenus.value=='Y') {
} else {


<body onload="redrawMenus();">

<form action="#" method="post" name="homePageForm" id="homePageForm">
<input type="hidden" name="redrawMenus" value="N">


But I really don't want to have to go through each JSP and do this same kind of thing and I'm not a 100% sure this will fix all the issues nor is it the right thing to be doing - is it always safe to call drawMenus() even if it has already been called.

I have tested this in both IE 6 & IE 7 and it behaves the same but not tried in other browsers. Locally we upgraded to the latest version of the menu and that did not fix it either. I have seen other posts on disappearing menus (post back related) but hopefully now with this reproducible situation it can be reproduced and fixed.

Our application is SiteMinder protected and we are willing to setup a time when you can test and review it for yourself but I would have to give you temporary credentials to do so and we will need to do that outside of the forum so send me an email and we can make arrangements to do that.

Thanks - Steve

Re: Floating menu disappears on go back in IE

Poster: Deere-Steve
Dated: Wednesday October 10 2007 - 19:51:30 BST

Is anybody out there? This is continuing to happen and we'd really like to hear from support.

Re: Floating menu disappears on go back in IE

Poster: Andy
Dated: Wednesday October 10 2007 - 20:26:23 BST


I'll take this onto the tech support system due to the security nature of the problem.


Re: Floating menu disappears on go back in IE

Poster: nanceman
Dated: Wednesday March 26 2008 - 1:23:13 GMT

Did you ever get a response to your questions? I'm seeing something similiar where we have a footer that will sometimes 'float' over a submit button on a confirmation page. We have trouble reproducing it.

Re: Floating menu disappears on go back in IE

Poster: Ruth
Dated: Wednesday March 26 2008 - 15:09:55 GMT


Because the site was a protected site, Milonic moved the issue into the support system out of the public forum. We on the forum don't have access to anything like that.

If you could post your site and describe what is happening, we can take a look and see if we can help.


Re: Floating menu disappears on go back in IE

Poster: Deere-Steve
Dated: Tuesday April 1 2008 - 16:35:05 BST

I cannot remember or find what the issue was but it was a code issue on our side that has been resolved.