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.
|
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.aspxIf 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.aspxThere 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.aspxStyle 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.aspxhttp://doc.essentialobjects.com/library/1/menucommon/lookskinandtheme/looks.aspxHope this helps. Thanks!
|
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.
|
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!
|