Aligning sub menus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
laurie
Beginner
Beginner
Posts: 8
Joined: Wed Jan 31, 2007 3:41 pm

Aligning sub menus

Post by laurie »

Hi, I'm sure this will be very easy to solve but right now it seems to be elluding me

I'm using a horizontal image based menu that has a larger (268px) first image, with the remainder being 180px. This first image is the only one that requires a sub menu, the graphic size of which is 184px. Now all I want to do is offset the sub menu 84px to the right so that it clears the left-hand graphic and lines up under the main menu text (to see what I mean go to http://www.shipleyuk.com/index.php and select company profile).

I thought that _subOffsetLeft=84; would do it, but that appears to do very little

All help greatly received

Laurie

Ps if there any documentation that lists and explains all the MM Javascript commands/attributes
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Aligning sub menus

Post by Ruth »

Hi,

Well, with submenus coming off a horizonal menu the offsets to not apply. If you want to shift those 1st level subs you would add left='offset=84'; Just for information, since you only have that one submenu and none coming off it, you could also set it as openstyle='rtl'; and it would position itself from the right hand side of the main menu item instead of the left.

Two other items. The property for doing the over on bgimage is overbgimage, not bgoverimage, and since this menu is positioned in a div relatively, remove the top and left properties from the embedded main menu and add position='relative';

Hope this helps

EDIT: also, you need to upgrade your menu to the newest version 5.810 I think it is. If you go to this topic viewtopic.php?f=10&t=3108 and mark it as watch or subscribe you will get a notification whenever there is an update to the menu for a bug fix or added features.

Ruth
laurie
Beginner
Beginner
Posts: 8
Joined: Wed Jan 31, 2007 3:41 pm

Re: Aligning sub menus

Post by laurie »

Thanks Ruth the openstyle='rtl'; did the trick and I've amended the other points you mention. We'll be purchasing the license for this site once these 'mock-ups' are finalised, so it will be the latest version.

Thanks again

Laurie
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Aligning sub menus

Post by Ruth »

Hi Laurie,

You should still watch that topic because updates are done either for fixes as things change on the web, or for new properties and attributes. When it is purchased you're entitled to free updates and support for a year.

As to the mm javascript things, I'm not sure what you mean. If you're talking about the demos page which has some functions that were created for things here on the forum, those are not Milonic generated, they were created by Kevin and the only explanations are those on the demos area. There is a methods and functions page that are related from Milonic and also pages for properties in the menu. If you go to the main site and under the DHTML Menu tab on the menu go down to the Menu Quick Reference Guide.

Hope this helps.

Ruth
Post Reply