offset problem and/or suggestion for the new version

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
User avatar
mtd_conseil
Advanced
Advanced
Posts: 27
Joined: Fri Jul 26, 2002 6:41 pm
Location: Quebec, Canada
Contact:

offset problem and/or suggestion for the new version

Post by mtd_conseil »

Hi,

(maybe it's already there and I just don't know how to do it) Would it be possible to have an OFFSET configuration but a "PER SUB MENU" property?

My case is that I use 3 milonic menu on the same page, but I don't want them to have all the same offset. I can't use the absolute positionning because the page is centered and I don't know where the menus will fall. If I change the suboffset_top value, it change for all the page.

Thank you.
Mike
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

You can set an offset for any menu. Do so using the following syntax in the Menu Top or Menu Left elements (2nd and 3rd elements respectively of any menu array):

Code: Select all

"offset=xxx"
include the double quotes. xxx is the number of pixels to offset by. Positive values offset to the right when used in Menu Left or down when used in Menu Top. Negative values offset to the left when used in Menu Left or up when used with Menu Top. The offset is from where the menu would otherwise open if no offset was specified. For example, you could use an offset in conjunction with the Screen Position property (6th element) in a main menu. So, if you set Screen Position to "center" and Menu Left to "offset=-100", you'd be telling the system to place the menu 100 pixels left of center. Or if you set Screen Position to "bottom" and Menu Top to "offset=-30", your menu would be 30 pixels from the bottom of the window. Or, you could use an offset in a submenu if you wanted to, say, move the first level submenus farther down from a main horizontal menu.

Hope that helps,

Kevin
User avatar
mtd_conseil
Advanced
Advanced
Posts: 27
Joined: Fri Jul 26, 2002 6:41 pm
Location: Quebec, Canada
Contact:

Offset works and documentation

Post by mtd_conseil »

Wonderfull... it works.

I'm sure I could do much better with this menu if I had a technical doc. I offer myself to write you one for free (which would be corrected by my team here because my english is rock bad) ;-) But I would need to have more informations of all possible values for all possible properties and method.


Regards,
Mike
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi Mike,

Nice offer, but I'm not in a position to accept or decline, because I'm just another user. Then again, with version 4 on its way, documenting version 3 might be a wasted effort at this point. But perhaps the Milonic folks would jump at your offer for v4? Anyway, glad the suggestion worked for you.

Kevin
User avatar
mtd_conseil
Advanced
Advanced
Posts: 27
Joined: Fri Jul 26, 2002 6:41 pm
Location: Quebec, Canada
Contact:

documentation

Post by mtd_conseil »

Well then,
(HEY GUYS FROM MILONIC) :D
take this as to do docs for V3 and V4. ;)

http://www.virtuelcom.com

regards,
Mike
Post Reply