Milonic Property Issues with Mac IE and Safari

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
smarte
Beginner
Beginner
Posts: 6
Joined: Mon May 02, 2005 5:58 pm

Milonic Property Issues with Mac IE and Safari

Post by smarte »

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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
smarte
Beginner
Beginner
Posts: 6
Joined: Mon May 02, 2005 5:58 pm

Additional Info

Post by smarte »

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
slackbladder
Super Advanced
Super Advanced
Posts: 72
Joined: Fri Jul 01, 2005 3:04 pm

Post by slackbladder »

Should divides be set in the style and not the item?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
slackbladder
Super Advanced
Super Advanced
Posts: 72
Joined: Fri Jul 01, 2005 3:04 pm

Post by slackbladder »

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)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
slackbladder
Super Advanced
Super Advanced
Posts: 72
Joined: Fri Jul 01, 2005 3:04 pm

Post by slackbladder »

Cool! Thx :D
Post Reply