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:53
2 questions
Poster: mackey555
Dated: Friday February 18 2005 - 0:21:43 GMT
Is there a way to define an exact width and height for the headers? Also i'm trying to have a different rollover color for each menu. I have the submenus different colors, but it doesn't work for the headers of the menu. I make new styles just like the submenus, but it doesn't work.
Poster: Ruth
Dated: Friday February 18 2005 - 5:31:00 GMT
Hi mackey,
By header do you mean main menu? If you want each main menu item to have a different color, you can do that by putting it in each item. For example, define your main menu style to have the basic things like borders and such that you want, then in each item you would code the on/offbgcolors, on/offcolors etc.
Code:
aI("text=Home;url=http://www.milonic.com/;status=Back To Home Page;offbgcolor=#ffff00;onbgcolor=#0000ff;offcolor=#000000;oncolor=#ffffff;"); aI("text=Menu Samples;align=center;showmenu=Samples;title=All Samples"); offbgcolor=#00ff00;onbgcolor=#6d8e92;offcolor=#000000;oncolor=#ffffff;");
You can do that for each main menu item. You can do that for any menu item.
As for the height, again, are you talking about the main menu items? Is your menu horizontal or vertical? You can specify a menu height, an itemheight, an itemwidth, but remember that if someone has their text size set really big it probably would change it. You could do it more easily with images
Ruth