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

Wrong menu image being built

Poster: Al-B
Dated: Friday January 7 2005 - 15:42:36 GMT

Hi I have a major problem.

I am working on a site that is using the milonic menu in the header. This is comprised of 5 menus. On 1 page in the site I have 3 additional milonic menus being built dynamically in the left navigation. 8 Menus total on this page (this is necessary to support some noscript requirments.

This problem arise in IE only. When I click an image button in the header and go to the page with the 3 additional menus, if I leave the mouse over one of the image buttons in the header then the left nav draws the menus incorrectly, wrong image and they do not function. please see images below. If I click an image button in the header and remove the mouse from atop the image button before the page loads the left nav builds correctly. This problem does not happen in FireFox, just IE (latest version).

I have double checked that none of the menus are using the same menu names and I have even tried unique styles for each menu, but the problem is still there. Can anybody help me with this? This is a major bug I need to resolve quickly.




Poster: Ruth
Dated: Friday January 7 2005 - 17:54:56 GMT

It would help if you had a url so Milonic could see it in action. Suggestions to start, have you tried the preloadimages.js module, and I think there is a global setting buildAllMenus which will build all the menus. It's about half-way down the page. Not sure if either of these is a solution.


Poster: Al-B
Dated: Friday January 7 2005 - 18:31:53 GMT

Could you provide me with an example of what you mean?

unfortuneatly I cant give you a URl to view since I am locked behind an enclosed network. All our IP addresses are internal.

Poster: Ruth
Dated: Friday January 7 2005 - 19:35:17 GMT

You can see an explanation of the buildAllMenus on this page it's about half-way down. You'd put that code at the top of the menu_data.js file, in the section where the subOffset= is. The preloadmenuimages.js module is here

You would put the call for that module in the same place you have the call for the menu files, probably right below the call for the menu_data.js file.

As to giving an example, I don't know where to get an example of buildAllMenus for you to see. You could add that to your menu_data.js file and then make a test page to check it on and see what happens. The Milonic site uses the preloadmenuimages.js module, it loads all the menu images so they are available when the mouseover is done, instead of having to wait for the call to the image [I think that's how it works]