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

Problem with Horizontal Nav and IE


Poster: scottswo
Dated: Saturday April 1 2006 - 0:58:28 BST

I have a site where the navigation is not behaving the same from IE to Firefox. The navigation is a horizontal nav on the main nav and secondary navs. I have coded the secondary nav to do a left offset to get it to start flush left with the table that it is in. If there is a better way to do this, I'd love to know.

The navigation works correctly in Firefox on a pc, but not in IE. The link below will demonstrate:

- http://www.eurasiacommunity.com/ciswelcome.asp

In IE, the menu pushes to the left, past the edge of the site. In Firefox, it works fine. The 2nd level menu will also periodically display in the upper left corner in IE, and then return to its place once you roll-over something.

I am also using the openmenusbyurl.js file as well to open the second level. I am thinking that there is some kind of bug with this implementation in IE.

Using current version - 5.745

Any insights are appreciated.

[/url]


Poster: Migru
Dated: Saturday April 1 2006 - 17:33:23 BST

Hi

please look here

http://www.milonic.com/tablemenu.php

You have the entire menu placed in a <td>. In IE and other browsers, this won´t work.

Michael

Made Update, but not all is fixed


Poster: scottswo
Dated: Monday April 3 2006 - 5:49:51 BST

Hi Michael,

I updated my code to only have the main menu in the TD tag. This fixed the menu offset problem, but I am still having an issue where IE is sometimes putting the secondary nav in the top left corner when the page loads. It seems that it mainly happens on the the following page:

- http://www.eurasiacommunity.com/welcometoeurasia.asp

Any ideas?

Still having problems with offset on IE as well


Poster: scottswo
Dated: Monday April 3 2006 - 15:33:13 BST

I just did a little more thorough check on several computers with different resolutions, and the Offset problem is still there as well on IE. So it seems that the problems that are there are something with the menu.

I am wondering if it has something to do with the openmenusbyurl.js file, as I have been embedding the full Milonic code within the table cells for a couple years and have never had any problems, except for this implementation with the openmenusbyurl.js.

Scott


Poster: Andy
Dated: Wednesday April 5 2006 - 11:27:53 BST

Hi,

You have not commited the sub menus before building the table based menu.

What this means is the sub menus are being declared but are not actually being built until the main (table based) menu has been declared.

What you need to do is add a drawMenus(); command just after the sub menus have been declared, this will then commit the sub menus to your page in the correct location, rather than inside the table cell.

So, just after the last sub menu definition add the drawMenus(); command and the problem should be solved.

This request has also been answered directly on the Milonic Tech Support System.

Hope this helps
Milonic Support