Welcome Guest Search | Active Topics | Sign In | Register

Redtabs menu Options
Terrence
Posted: Friday, July 16, 2010 3:04:19 AM
Rank: Member
Groups: Member

Joined: 6/23/2010
Posts: 18

I am using the Redtabs template and my menu is four level deep. The third and fourth level menu item style is by default transparent background. Can you please advise as to the way to change the style of the third/fourth level submenu item programmatically? Thanks.
eo_support
Posted: Friday, July 16, 2010 9:17:27 AM
Rank: Administration
Groups: Administration

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

There are multiple ways to change submenu item styles. You can modify any of the style property directly or with code. For example, if you wish to change a sub menu's background color, you can include backgroundcolor in the following style property:
http://doc.essentialobjects.com/library/1/eo.web.navigationitemgroup.style.aspx

If you wish to change a menu item's style (color, font, ect), you can modify this style:
http://doc.essentialobjects.com/library/1/eo.web.navigationitem.normalstyle.aspx

There are many style properties available for a menu item, each for a different state. See here for more details:
http://doc.essentialobjects.com/library/1/menucommon/styleandappearance/item_state.aspx

Style can also be indirectly set either through look item or setting a menu item's LookID property. See here for more details about look items:
http://doc.essentialobjects.com/library/1/menucommon/lookskinandtheme/lookskintheme.aspx
http://doc.essentialobjects.com/library/1/menucommon/lookskinandtheme/looks.aspx

Hope this helps.

Thanks!
Terrence
Posted: Friday, July 16, 2010 10:22:53 AM
Rank: Member
Groups: Member

Joined: 6/23/2010
Posts: 18

Thanks for the reply.

Can you just show me an example code to set the third level menu item's look? Thanks.
eo_support
Posted: Friday, July 16, 2010 10:33:40 AM
Rank: Administration
Groups: Administration

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

There is no real difference between setting a third level menu item's look and setting any other item's look. We provide reference documents and generic sample code to help you understand how the product works, but we do not provide sample code for each and every user's specific scenario --- or to put in plain term, we do not code for our users. You are required to understand how the product works and then derive your code based on that. If you have any questions understanding a particular feature please let us know and we will be happy to help.

Thanks!


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.