removing seperator
-
- Beginner
- Posts: 3
- Joined: Wed Mar 10, 2004 8:20 am
removing seperator
as in new version of menu we have seperator after every intem of sub menu i want that seperators should appear after some item and it should not after other is there any way to do this
Yes, you can do that. Let's say you want all submenus to have the option of putting in separators for some items and not for others, then you would define a style for submenus. As an example You put nothing in it about the separator. Then in the actual submenus, any place you want a separator you code it in the item.
Ruth
Code: Select all
with(subStyle=new mm_style()){
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#DCE9F0";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
font coding etc.
}
Code: Select all
with(milonic=new menuname("Milonic")){
style=subStyle;
aI("text=1st item-no separator;url=http://www.whatever.com/;");
aI("text=2nd item-separator appears after it;separatorcolor=#2D729D;separatorsize=1;url=http://www.whatever.com/;");
aI("text=3rd item-separator appears and is a different color-has a different height-has padding-around it etc;separatorcolor=#FF0000;separatorsize=2;separatorpadding=2;separatorwidth=150;showmenu=whatever;");
}
-
- Beginner
- Posts: 3
- Joined: Wed Mar 10, 2004 8:20 am