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:52
IE7 Milonic is not visible until window resize
Poster: Anonymous
Dated: Friday October 6 2006 - 6:11:44 BST
Hi there
I am working on http://www.redpocketmobile.com/ there I used milonic, problem is that it is working fine in FF 1.5+, FF 2 Beta, IE 6, but when it comes to IE7 it is just not visible, sometimes it will show the menu and some time it doesent,
and when I resize the window (not scrolling; resizing) it shoes me the menu, I have applied the menu on many websites, but they all are working fine on IE 7
Please solve this problem as soon as posible
Poster: Ruth
Dated: Friday October 6 2006 - 6:28:39 BST
Hi,
IE7 is Release Candidate 1 not the final version and it really isn't possible for Milonic to try and get the menu to work in browsers which are not yet in final release since those browsers are constantly changing with regard their programming, fixing bug, adding attributes, chaning functionality etc.
I notice that the menu is made up of images, perhaps you might try including the preloadimages.js module and see if that helps, maybe it's an image loading problem, but that is only a guess. I also note the menu is in a table, but I don't see anyplace in the menu_data.js file that you are using buildAfterLoad=true; which since you are putting all the files inside the table is required. See the product information here down about the middle of the post. http://www.milonic.com/forum/viewtopic. ... 8044#38044
If you don't want to use the buildAfterLoad, then you need to move the 3 program files to just after the body tag, though since you don't have submenus it might not make any difference.
Ruth
Poster: Anonymous
Dated: Friday October 6 2006 - 7:18:35 BST
I have tried both
buildAfterload = true;
and preloadimages.js but didnt worked
milonic is working on other sites on IE
hmm well is that a problem that i m using GIF images, where on other sites i've used JPEGs
Poster: Anonymous
Dated: Friday October 6 2006 - 11:24:44 BST
still no way...
i need helllpppppp for this...
Poster: Andy
Dated: Friday October 6 2006 - 11:46:20 BST
Hi,
The problem you have sound very much like a bug in the browser.
Have you tried the latest Release Candidate?
Once IE7 goes final, we will then readdress this issue, if it is still there
Poster: kevin3442
Dated: Friday October 6 2006 - 20:17:12 BST
Hi aamirrajpoot,
I don't have IE7 installed to test, but I can offer two quick comments:
(1) buildAfterLoad=true; is not a menu property, as you've applied it. It's a global property. You should remove that line from your Main Menu definition and place it with the other globals, like _subOffsetLeft (usually at the top of menu_data.js).
(2) You're running Milonic v5.754. The current release is 5.758, and there have been some changes to buildAfterLoad since 5.754. You might want to update.
Hope that helps,
Kevin
Poster: kevin3442
Dated: Monday October 9 2006 - 19:21:29 BST
Hello,
Perhaps you used a staging or test server to test, but I don't see the latest version used at the url you provided. I'm still seeing v5.754 (v5.759 was made available over the weekend). I've noticed a couple of other things that may be at work, but first and foremost I've noticed that the base menu code that you're currently using is the unlicensed trial version. Did you download the unlicensed version from milonic.com by mistake (it happens when people forget to log in before downloading an update)? It may help if you get the latest version, under your license, and upload that to your production server. If that doesn't help, then we can go over the other issues I noticed.
Cheers,
Kevin
Poster: Andy
Dated: Friday October 20 2006 - 15:05:16 BST
Hi,
Can you try removing the Netscape 4 file and see if that helps.
What you need to do is change this:
Code:
<tr>
<td><script type="text/javascript" src="http://www.redpocketmobile.com/includes/milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=http://www.redpocketmobile.com/includes/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=http://www.redpocketmobile.com/includes/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="http://www.redpocketmobile.com/includes/menu_data.js"></script>
<script type="text/javascript" src="http://www.milonic.com/preloadmenuimages.js"></script></td>
</tr>
<td><script type="text/javascript" src="http://www.redpocketmobile.com/includes/milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=http://www.redpocketmobile.com/includes/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=http://www.redpocketmobile.com/includes/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="http://www.redpocketmobile.com/includes/menu_data.js"></script>
<script type="text/javascript" src="http://www.milonic.com/preloadmenuimages.js"></script></td>
</tr>
To this:
Code:
<tr>
<td>
<script type="text/javascript" src="http://www.redpocketmobile.com/includes/milonic_src.js"></script>
<script type="text/javascript" src="http://www.redpocketmobile.com/includes/mmenudom.js"></script>
<script type="text/javascript" src="http://www.redpocketmobile.com/includes/menu_data.js"></script>
<script type="text/javascript" src="http://www.milonic.com/preloadmenuimages.js"></script></td>
</tr>
<td>
<script type="text/javascript" src="http://www.redpocketmobile.com/includes/milonic_src.js"></script>
<script type="text/javascript" src="http://www.redpocketmobile.com/includes/mmenudom.js"></script>
<script type="text/javascript" src="http://www.redpocketmobile.com/includes/menu_data.js"></script>
<script type="text/javascript" src="http://www.milonic.com/preloadmenuimages.js"></script></td>
</tr>
Looks like Microsoft are having problems with document.write and script files - I'm guessing that this will be fixed soon but for now it's giving us major problems. MS have been premature again releasing buggy software.
Poster: Andy
Dated: Friday October 20 2006 - 15:07:35 BST
Also, it might be an idea to not hotlink to http://www.milonic.com/preloadmenuimages.js - if the server sees too many hotlinks in one day it will block them to save bandwidth leaching.