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

Header/Seperator


Poster: bobwill
Dated: Thursday June 17 2004 - 18:56:13 BST

I know how to create a header. I want to use a header with no text in it, but I do not want the header to be the same height as the other menu items. I just want to use it as a visual seperator from other menu items.

aI("text= align=center;type=header;");

Can I control the height of the header??


Poster: Maz
Dated: Thursday June 17 2004 - 20:28:03 BST

I'll assume this is vertical, have you tried itemheight and fontsize in the item?

maz


Poster: John
Dated: Thursday June 17 2004 - 20:35:42 BST

Don't forget, Bob, that   is a valid character, and will have the default applied to it if nothing else is there to override it.

Another possibility is removing it - just text=; .


Poster: bobwill
Dated: Friday June 18 2004 - 1:03:33 BST

Thanks, Maz & John.

I used "itemheight" and eliminated &nbsp. I can now control the item height.

Is there a way to just control the color for this pseudo header/separator bar entry, rather than taking on the color for headerbgcolor as defined in the menu style??

aI("text=;type=header;itemheight=2;");


Poster: Ruth
Dated: Friday June 18 2004 - 21:16:07 BST

Yes, headerbgcolor is both a global and item property, so you can specify it in the item. The same is true of headercolor, though without text you dont need that.
Code:
aI("text=;type=header;itemheight=2;headerbgcolor=#f0f0f0;");

This would allow the globally defined headerbgcolor to apply to other headers and this one to have whatever you specify in that item.

Ruth