different bordercolors for the submenus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
enbit
Beginner
Beginner
Posts: 2
Joined: Thu Jun 01, 2006 3:44 pm

different bordercolors for the submenus

Post by enbit »

Hi everybody,

I'm getting tired of trying to get an answer of my question myself. Perhaps you can help me.

I need to have a menu with different borders for the submenu.

I tried something like:

Code: Select all

with(milonic=new menuname("cf7ae6a5b13182c9d5377f378b6cdb0b")){
	overflow="scroll";
	style=menuStyle;
	menuwidth=80;
	itemheight=18;
	bordercolor="#0069ab";
        ....
and set the bordercolor in this way for each submenu ... but nothing happend.

Thank you for your help,

Matthias
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

The bordercolor property is a style property, not a menu property,
so specify this in the style definition and for each submenu use a different style.

Michael
enbit
Beginner
Beginner
Posts: 2
Joined: Thu Jun 01, 2006 3:44 pm

Post by enbit »

Thanks for your really fast answer.
I'm going to try this.

Matthias
Post Reply