Welcome Guest Search | Active Topics | Sign In | Register

Menu on Selected Options
Colin
Posted: Wednesday, February 6, 2008 8:14:20 AM
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.
eo_support
Posted: Wednesday, February 6, 2008 8:22:27 AM
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.html

Or 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.html
http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.BaseNavigator.AutoSelectTarget.html

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.