Rank: Advanced Member Groups: Member
Joined: 2/1/2008 Posts: 35
|
Hi,
The menu control works great apart from I can't get it to change the image and text color when in the selected mode. I have a graduated grey image with green text for normal set through the default, I then use the same image with red text on hover, both these work fine. However, when I select a web page the button should change the image to a graduated grey to white image with the red text, this does not work, I still see the normal and hover image and text. I have tried it through setting the default and the separate menu buttons but still no joy. Can you please advise where I am going wrong.
Regards.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Check whether you have put the item into Selected state. Clicking a menu item does not automatically put it in selected mode. You can either call client side setSelected to explicitly put the item into selected state: http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.NavigationItem.setSelected.htmlOr use the following properties to instruct the menu automatically select a menu item whose NavigateUrl matches the current Url: http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.BaseNavigator.AutoSelectSource.htmlhttp://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.BaseNavigator.AutoSelectTarget.htmlThanks
|