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

mac problem


Poster: MRI
Dated: Monday April 26 2004 - 15:59:13 BST

Hi all

I have a problem getting the menu on this site http://golfexperten.inet-designer.dk/ to show correctly.

One problem is that macs wrap the menu text into severel lines when a - or a space occurs.

The next problem is that the itemwidth is set at 100px. This has no effect on a mac.

The third problem on macs is that I wan't a border around the toplevel menuitems - but not around the menu. The menu uses the style .menu_top_off instead of .menu and shows a border on the menu instead of just on the menuitems.


I have seperate stylesheets for macs and pcs. The css for the menu is the same at the moment:

.menu {
text-align: right;
border-style: none;
}

.menu_top_off {
border: 1px solid #007440;
background-color: #ffffff;
color: #007440;
text-align: center;
}


.menu_top_on {
border: 1px solid #007440;
background-color: #007440;
color: #ffffff;
text-align: center;
}


Any suggestions would be highly appreciated!!

Martin


Poster: John
Dated: Monday April 26 2004 - 17:08:41 BST

A number of problems to take care of first...

1. You are running RC30, which is over 40 versions down from the current release (5.13), and no longer supported. Update at http://milonic.com/.

2. You have the following call in place, which is for the old v3 menu (and goes noplace anyway)...
Code:
<script language="javascript" type="text/javascript" src="./site/menu/mmenu.js"></script>

Remove it.

3. Your calls to the menu...
Code:
<script language="javascript" type="text/javascript" src="./site/menu/milonic_src.js"></script>   
<script language="javascript" type="text/javascript" src="./site/menu/mmenudom.js"></script>

...are incorrect for the current version. Read the files that come with the download for installation instructions, in particular install.txt for the proper calls.

Get those squared away and let us know how it goes.


Poster: MRI
Dated: Tuesday April 27 2004 - 8:20:35 BST

I updated the menu to the newest version - that helped a lot.

I still have one remaining problem. In Mac IE the menu isn't placed correctly. It seems that the menuwidth isn't set to 744px.

Thanks
Martin


Poster: John
Dated: Tuesday April 27 2004 - 14:57:36 BST

MRI wrote:
I updated the menu to the newest version - that helped a lot.

Great. Keep a close eye on the versions. Lots of new stuff still to come.
MRI wrote:
I still have one remaining problem. In Mac IE the menu isn't placed correctly. It seems that the menuwidth isn't set to 744px.

Unfortunately I'm stuck on a Windoze box here at work, so I'm not seeing a problem. Hopefully Maz can take a look for you.

What version of Mac IE and OS? 5.2.3 was the last (forever) released version.


Poster: MRI
Dated: Tuesday April 27 2004 - 15:03:57 BST

Thanks for your help.

I'm on a Mac OS 10.3.3
IE is version 5.2.3

Safari is aok.


Poster: John
Dated: Tuesday April 27 2004 - 15:09:25 BST

Can't get more 'up' than that!

You realize, of course, that in addition to Mac IE being dropped by M$, it really stinks as a browser :!: :roll:

Maz should be waking up soon...

Edit: Scratch that - she's on-line now.


Poster: Maz
Dated: Tuesday April 27 2004 - 15:15:36 BST

You have screenposition="center"; and menualign="right"; which is at odds.

Make both those center with an offset.

left="offset=200px";

maz


Poster: MRI
Dated: Tuesday April 27 2004 - 15:24:34 BST

If at all possible I would like to avoid setting an offset.

I'm trying to center the menu with a fixed width - 744px, and then aligning the menuitems in the menu to the right, because the number and length of the topmenuitems aren't fixed.

Martin


Poster: Maz
Dated: Tuesday April 27 2004 - 15:55:15 BST

how about centering with a fake transparent menu item 200px and adding 200px ?

Still think you need both centered.

maz


Poster: MRI
Dated: Tuesday April 27 2004 - 16:09:27 BST

I'm not sure how screenposition and menualign are supposed to work, but the way I think it works on Windows is that screenposition determines the alignement of the menu on the screen and menualign positions the menuitems in the menulayer.

It works on Win IE and Mac Safari.

I'm trying to avoid placing the menu by adding or deducting pixels because the site is based on a CMS - and therefore the best solution would be that the menu places itself correctly regardless of the number and size of toplevel menuitems.

By the way - thanks for your answers, it seems that it's always you that ends up trying to solve my mac problems!

Martin


Poster: Maz
Dated: Tuesday April 27 2004 - 16:27:54 BST

I find menualign helps keep the menu centered in some browsers, although I understand its more to do with tables. By mixing them you are going to get differences by browser.

I think that you really need offset, that way it will keep the menu centered and to the right a little. I use right negative offset and it works well now.

glad to help,

maz