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 January 20 2018 - 06:01:09

Aligning sub menus


Poster: laurie
Dated: Wednesday December 10 2008 - 12:51:43 GMT

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

Re: Aligning sub menus


Poster: Ruth
Dated: Wednesday December 10 2008 - 17:44:59 GMT

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

Re: Aligning sub menus


Poster: laurie
Dated: Thursday December 11 2008 - 9:56:06 GMT

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

Re: Aligning sub menus


Poster: Ruth
Dated: Thursday December 11 2008 - 13:51:55 GMT

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