Welcome Guest Search | Active Topics | Sign In | Register

Submenu properties Options
JT
Posted: Wednesday, October 10, 2007 12:47:01 PM
Rank: Newbie
Groups: Member

Joined: 10/10/2007
Posts: 2
Hi EO,

Can't find out how to style only my submenu.

I would expect that the <submenu> part would only be applied to the submenu, but my entire menu has a red background.

Where do I go wrong?

<LookItems>
<eo:MenuItem HoverStyle-CssText="background-color:#0000c0;color:white;font-weight:bold;"
ItemID="_Default" NormalStyle-CssText="font-weight:bold;"
SelectedStyle-CssText="background-color:#0000c0;color:white;font-weight:bold;">
<SubMenu ItemSpacing="10" OffsetX="5" Style-CssText="background-color:red;">
</SubMenu>
</eo:MenuItem>
</LookItems>

eo_support
Posted: Wednesday, October 10, 2007 12:52:38 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

That's because top group is also considered as a sub menu of the root node. Try set _TopGroup.Style to override the red color. That should get it going.

Thanks
JT
Posted: Wednesday, October 10, 2007 1:09:51 PM
Rank: Newbie
Groups: Member

Joined: 10/10/2007
Posts: 2
No, thank you!
I understand the way it works now!
Regards,
Jan


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.