Menu Height

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
leatherlips
Advanced
Advanced
Posts: 23
Joined: Tue Jul 02, 2002 9:08 pm

Menu Height

Post by leatherlips »

How can I know the menus height in pixels? I want to place it over a graphic so it blends with it, but am not sure what size to make the graphic without a lot of trial and error. Thanks.
Thommy
Beginner
Beginner
Posts: 3
Joined: Wed Sep 10, 2003 3:50 pm

Re: Menu Height

Post by Thommy »

leatherlips wrote:How can I know the menus height in pixels? I want to place it over a graphic so it blends with it, but am not sure what size to make the graphic without a lot of trial and error. Thanks.
Just put the graphic as background into the cell of an table and blend the menu over that ;)
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

The height of the menu depends on a couple things. First, the text (or images) inside of it. If its big text, its a big menu, so take that into consideration. Secondly, any padding or margins you have set in it will affect it too. One thing that you may want to try is itemheight. This option will allow you to set the heights of each item individually. Now i haven't tested this, but I think if you have zero padding and zero margins and you have the itemwidths set, the total height of the menu should be your menuitems heights added up. Give it a try and let us know! There is no overallheight option at the moment, but we are always improving. Maybe someday...
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
hass
Beginner
Beginner
Posts: 3
Joined: Thu Sep 11, 2003 2:23 pm

how do i control the table widths?

Post by hass »

Hergio wrote:The height of the menu depends on a couple things. First, the text (or images) inside of it. If its big text, its a big menu, so take that into consideration. Secondly, any padding or margins you have set in it will affect it too. One thing that you may want to try is itemheight. This option will allow you to set the heights of each item individually. Now i haven't tested this, but I think if you have zero padding and zero margins and you have the itemwidths set, the total height of the menu should be your menuitems heights added up. Give it a try and let us know! There is no overallheight option at the moment, but we are always improving. Maybe someday...
But where do you specify "itemheight" or "itemwidth"? Is it possible to control the exact table width of the main menu heading so that I can control how it looks on the page?

Cheers,
Hass
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: how do i control the table widths?

Post by John »

hass wrote:But where do you specify "itemheight" or "itemwidth"?
These are both Menu Properties, and, as such, are defined in your aI statements. More information is available in the document by that name on the main site.
Last edited by John on Thu Sep 11, 2003 3:26 pm, edited 1 time in total.
John
hass
Beginner
Beginner
Posts: 3
Joined: Thu Sep 11, 2003 2:23 pm

Re: how do i control the table widths?

Post by hass »

jgillett wrote:[quote="hass]But where do you specify "itemheight" or "itemwidth"?
These are both Menu Properties, and, as such, are defined in your aI statements. More information is available in the document by that name on the main site.[/quote]

Hi bro, I cannot find the document on the site- anywhere! Any chance that you can point me to it?

Thanks
Hass
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

DHTML Menu/Menu Properties Quick Reference.
John
Post Reply