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

divhider and IE55 vs. IE6


Poster: markbinau
Dated: Monday September 27 2004 - 21:30:22 BST

Hi,

Thanks to this forum I found and have implemented the divhider.js to help with my menus not appearing over the top of my java applets. It is a little ugly with the flashing of the screen when it hides/unhides and so I would like to not hide when I don't have to.

I use IE 6 and it works fine even without the divhider, however, another machine still has IE5.50.4030.2400. The menus do not show over the top of the applet in this IE55 version without divhider. The divhider.js file contains the line:
Code:
if(op7||ie55||ns6||ns7)return

If I understand this line, it is saying that if the user is using any of the listed browsers, don't bother hiding the div, because it should work. However, it is not working in my instance of IE55. If I take IE55 out of the line above then it will correctly hide the div, but it does it in both IE55 and IE6. I don't want to cause flashing in IE6 by hiding when it is not necessary.

Does anyone else have the problem with IE 5.5 not displaying menus over the top of applets? Is there some local browser setting that will make it work?

Is there a variable (or some other way) divhider.js can distinguish between IE5.5 and IE6?

Thanks in advance,
Mark


Poster: Ruth
Dated: Monday September 27 2004 - 23:20:02 BST

I have IE5.5 and I see the menu drop over applets even without the divhider.js file. Could you give your site url so I can test it with my IE 5.5?


Ruth


Poster: markbinau
Dated: Monday September 27 2004 - 23:47:17 BST

unfortunately the corporate nazis here have put our test server inside the firewall. I cannot just give you the url. Can you tell what the extended version number of your 5.5 is?

Thanks,
Mark


Poster: Ruth
Dated: Tuesday September 28 2004 - 1:53:40 BST

I've tested it in random release and it works in all. The latest release is 5.48 and it works in that. Is there anyway to put up a test page, or put up a zip file of that page, the menu data files, css files? If not, if you'd post the menu data code, page html code and css code here, I can try to remake the page and test it though it might be a couple of days for me to do that. Please make sure you use the code button above if you do that.

Ruth


Poster: markbinau
Dated: Tuesday September 28 2004 - 17:17:31 BST

Thanks Ruth. I have tested in a version of 5.50.4807.2300 update version:SP2. It worked just fine there without divhider.

However, I still have a machine with 5.50.4030.2400 update version:0 and the menus do not display over the top of the applets.

Were any of your random versions of IE5.5 without any service packs applied to them?

Could it be an OS issue? The machine with the problem is Win98. The machine with IE5.5 that works is WinNT40.

You can see it now at

http://sourcelinkdev.mclaneco.com

You can use mrbinau/mrbinau to log in. Select Profile/Vendor to bring up an applet.

Thanks,
Mark


Poster: Ruth
Dated: Tuesday September 28 2004 - 18:37:36 BST

The random versions were the Milonic menu versions, not IE. My IE is 5.50.4807.2300 with sp2, OS 98se. Thanks for the page, it helps. There are a few things to change

1. I don't know if this will make a difference, but in the div code it should have both id and name and position="relative" [not sure on the position one you'll have to test it.]
Code:
<div id="appdiv1" name="appdiv1" style="position:relative">


2. You seem to be trying to put the menu in a table. If so, then you need to check the directions on that. To put it in a table you need to remove the main menu from the data file and then either put it in script tags in the actual table cell, or create a separate file for that and call it in the table cell. The rest of the calls for the menu [except the divhider which goes where the div is] get placed immediately, the first items after the body tag.

You can see the directions for table bound menus here

You'll have to test using the above corrections since I don't have that version of IE


Poster: markbinau
Dated: Wednesday September 29 2004 - 14:14:21 BST

FYI - for my app I have made the sub-menus be horizontal which meant I did not have to hide the main java applet. I still potentially hide a small applet that is only used during the inital loading of data to the main applet.

I modified divhider.js to distinguish between IE55 and IE6. Here is the code I changed:
Code:
   if(op7||ns6||ns7)return
   if(ie) {
       userAgent = navigator.userAgent;
      ieIndex = userAgent.indexOf("MSIE");
      if (ieIndex > 0) {
         ieVer = userAgent.substring(ieIndex + 5, ieIndex + 8);
         if (ieVer > 5.5)return
      }
   }


If anyone knows of a better way to distinguish between IE55 and IE6, please let me know.

Thanks,
Mark