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:43
Separator lines on sub menu only
Poster: JesseLY
Dated: Tuesday January 23 2007 - 18:45:43 GMT
Is there a way to make a separator line on a sub-menu only, but not have it effect the top level menu?
I'm sure it's a simple tweak, but I can't seem to find the answer.
Thanks..
-Jesse
Poster: Boris
Dated: Tuesday January 23 2007 - 20:02:58 GMT
Yes, just use a different style for the main menu and the sub menu.
Here's an example:
with(menuStyle=new mm_style()){
...
}
subMenuStyle=new copyOf(menuStyle);
subMenuStyle.separatorsize=1;
subMenuStyle.separatorcolor="color";
Enjoy,
Boris