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

menu item depth

Poster: Elander
Dated: Friday July 25 2003 - 0:59:36 BST

Hi, (more questions)

Is there any way to set the overall depth of menu item buttons.

For example, if the button turns out to be 100pixels long by 30 pixels deep, can I control it to make it 100pixels long by 40 pixels deep.

Thanks for any help,


Poster: Hergio
Dated: Friday July 25 2003 - 16:05:35 BST

Ok, by item depth, I am guessing you are referring to item height. If while you are creating your menus, you want to set it, do just like I said in this post I have linked below, but instead of itemwidth, put in itemheight.

But if you are referring to programmatically setting the itemwidth and/or itemheight AFTER the fact, meaning, you would like to make the menu, poll it for its current width, and depending on what that is, change its width to something else...try this link below. A guy was trying to get menu widths to be a multiple of 21, so if a menu rendered to 19, he wanted it to grow to 21 and 24px would grow to 42, etc. I got alittle thing to work, but I am trying to put together a little 'plugin' so its easier to do.