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

Milonic Property Issues with Mac IE and Safari


Poster: smarte
Dated: Tuesday July 5 2005 - 18:30:17 BST

Hi Support,

We have been evaluating the Milonic navigator product for some time and plan to purchase it very soon. However, we have come accross some issues that empede out evaluation progress that we would like to resolve.

Here are the issues that we encountered while testing the milonic navigator with all of its properties specified:

Review the following Test URL for the purpose:
http://xvk.seg2.net/test/testMilonic.cfm

1. Margin property on Mac (IE and Safari) causes the main menu to offset itself to the left or to the right of the table cell within which it is located. Removing the menuwidth property fixes this problem on the Mac, but then causes it to not display properly on IE on the PC, by not filling in the full cell space. Only when the margin property is set to 0, then it renders properly in all OS and browsers.

2. Divides property on Mac (IE) causes javascript errors, and does not render in vertical navigators in all browsers.

Please let us know whether we need to upgrade to a newer version or if there is some problem with the js code or if the molnic navigator is not rendering properly.


Poster: Ruth
Dated: Wednesday July 6 2005 - 3:58:56 BST

Hi,

You need to be up to the latest level, 5.727 I believe it is. I do not have a Mac, with ie or otherwise. But, I notice you have the menu in a table, and you put it there correctly, main menu in the table, subs not in the table. However, and I don't know if this will fix anything, but the directions say to place the call for the files [that would also be the subs you have in script tags] should go the first thing after the body tag before any other html object is rendered. You might try that and see if the Mac IE problem fixes itself.

As to the margins. That is a browser issue, you could remove the menu and do a layout and then look at it in Netscape and IE and they would be different, unless you specified the page margins in css. I always set them for the body in css, and I tend to set them to 0px always. Then they are the same no matter what browser. It's always frustrated me that I could do a layout, not specify any kind of margins assuming that the built-ins would be the same in all browser, but that doesn't seem to be the case. That may also help with the IE mac issue since that browser does some weird things with how it reads margins and tables etc.

Divides is a horizontal specific parameter/property. If you could give an idea of what you're trying to accomplish trying the divides=2 for a vertical menu we can problably give you some ideas on how to do it. Are you trying to get a two column vertical menu?

Ruth

Additional Info


Poster: smarte
Dated: Wednesday July 6 2005 - 23:00:43 BST

Thank you for the reply. In regards to your answer, please note that we upgraded to the latest version of Milonic and the same problems still exist. I understand the problems with the margin property. We will try to restrict this property to always be 0 since it causes so many browser problems. It would be great if you somehow manage to resolve this problem in future versions of Milonic. I believe this is doable by adding specific checks for browsers and then correspondingly render the navigator based on the margin property value.

In regards to the divides, yes we would like to use it for vertical navigators as well if possible, thus be able to display vertical navigators in 2 columns. However, what we are mostly concerned about is that whenever the divides property if set to be greater than 1 returns Javascript errors in IE for Mac. Example:

Line: 30
Char: 4817
Error: '$A.0' is not an object
URL: http://xvk.seg2.net/test/testMilonic.cfm
This error occirs when rolling over the Maintenance & Repair Link


Poster: slackbladder
Dated: Thursday July 7 2005 - 0:23:27 BST

Should divides be set in the style and not the item?


Poster: Ruth
Dated: Thursday July 7 2005 - 2:48:10 BST

Hi,

I don't know what it would entail to dig into all the browsers find out how/what they have for their margins and then create whatever function would be necessary for all the browsers in order to set their margins as default. Also, I wonder what else would be involved so that the person designing the menu can set their own margins? Then again, as I said I'm programming illiterate. [grrr, why can't the danged browsers just agree on this one little minor thing, it's not like the way Mozilla sets margins as opposed to windows or mac, or safari and so on is some kind of marvelous selling point for getting people to use their browser! Sorry, that is the one real pet peeve I have with all the danged browsers :x ]

As to the vertical and divides, I have no idea if that will be something in the future.

Because of your setup, you could actually have a two column menu 'sort of'. In that table cell where you now have the one column vertical menu, create a two column 1 row table, then create the two menus you want ie mainLeft and mainRight, put one in the left column and one in the right column and set both to alwaysvisible. Just make sure you don't name them the same :)

Ruth


Poster: Ruth
Dated: Thursday July 7 2005 - 4:56:47 BST

Hi Slack,

Welcome, welcome, welcome, and thanks so much for jumping in and helping. It is greatly appreciated by all of the volunteers!

Divides is only a menu property. It is applied only in the section where you put the top=;left=; alwaysvisible etc. It doesn't get put in either the style section or the item section.


EDIT: 11:55pm. There are links below my name to the different style sections. You can also find the links under the DHTML Menu link on the main site - Quick Reference Guides

Ruth


Poster: slackbladder
Dated: Thursday July 7 2005 - 7:16:58 BST

Quote:
There are links below my name to the different style sections. You can also find the links under the DHTML Menu link on the main site - Quick Reference Guides


Thx for the 'heads up' Ruth and thx for the welcome :D You do wonderful work here! :)

As a 'newbie', I was wondering what 'divides' does? (sry Smarte - I don't mean to 'butt' in on your discussion)


Poster: Ruth
Dated: Thursday July 7 2005 - 14:43:52 BST

Hi Slack,

Divides 'divides' horizontal menus into columns. I haven't played around with it, but if you had say 8 items in a horizontal menu and used divides=3, you'd get a 3 top item and 3 middle items and 2 bottom items setup.

Ruth


Poster: slackbladder
Dated: Friday July 8 2005 - 7:16:03 BST

Cool! Thx :D