Hi.
I want to be able to group my menu like the Milonic.com homepage does with their examples menu.
Can anyone tell me how I can do this or where I can find some sample code that will show me how this is done?
Thanks in advance!
KP
Grouping within SubMenu
Hi,
Which examples menu? If you mean the DHTML Samples Menu, that is done using headers. So, let's say you had 4 sections you wanted to divide in your vertical submenu and you wanted a 'header' for each section, at the beginning of each section you would code an aI string and set it as type=header. For example, a first 'division' could be
With type=header this item will not change when you mouseover it and will use whatever you've put into the headerbgcolor and headercolor of the menuStyle.
Hope that helps.
Ruth
Which examples menu? If you mean the DHTML Samples Menu, that is done using headers. So, let's say you had 4 sections you wanted to divide in your vertical submenu and you wanted a 'header' for each section, at the beginning of each section you would code an aI string and set it as type=header. For example, a first 'division' could be
Code: Select all
aI("text=My First Header;type=header;align=center;");
aI("text=Item 1 of 1st header;url=;");
aI("text=Item 2 of 1st header;url=;");
aI("text=My Second Header;type=header;align=center;");
aI("text=Item 1 of 2nd header;url=;");
aI("text=Item 2 of 2nd header;url=;");
Hope that helps.
Ruth