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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:34

offset problem and/or suggestion for the new version


Poster: mtd_conseil
Dated: Friday February 28 2003 - 13:43:51 GMT

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.


Poster: kevin3442
Dated: Tuesday March 4 2003 - 0:00:25 GMT

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

Offset works and documentation


Poster: mtd_conseil
Dated: Tuesday March 4 2003 - 0:16:38 GMT

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,


Poster: kevin3442
Dated: Tuesday March 4 2003 - 0:22:21 GMT

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

documentation


Poster: mtd_conseil
Dated: Tuesday March 4 2003 - 0:52:08 GMT

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

http://www.virtuelcom.com

regards,