This is a migrated thread and some comments may be shown as answers.
Make a selected/active menu item
4 Answers 33 Views
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 07 Jul 2010, 06:32 PM
I have everything setup in the CSS, but I'm trying to get the selected state of the nav to be identical to hover state. I changed the CSS selected state but it's not resolving. Any leads would be appreciated

4 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 08 Jul 2010, 07:14 PM
I'm having the same problem with two menu skin that I've restyled.  It'd be nice to have on the Visual style Builder if there was an option to set the selected item.  But in the meantime I'd like to figure out how to set and keep the selected menu item.
0
Kamen Bundev
Telerik team
answered on 13 Jul 2010, 03:25 PM
Hello Michael and Matt,

Unfortunately the selected state was added recently in RadMenu and it seems it wasn't added in Visual Style Builder. We will take a look and fix it in the next batch of changes.

Greetings,
Kamen Bundev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Michael
Top achievements
Rank 1
answered on 13 Jul 2010, 10:55 PM
Kamen,
Thanks for the update. In the meantime while your working on adding it to visual style builder, is there anyway to make this work?  Can I go into the created style sheet and add something to allow for keeping the selected menu item? 

Thanks

Mike
0
Kamen Bundev
Telerik team
answered on 14 Jul 2010, 07:36 AM
Hello Michael,

You can open the resulting skin and if you want the selected state to be the same as the hover state, make sure to add .RadMenu .rmSelected everywhere where .RadMenu a.rmLink:hover is specified (the VSB changes are at the end of the file, easy to be spotted). The selectors should be the same - if you have div in front of .RadMenu, be sure to add it in the other selector as well.

Sincerely yours,
Kamen Bundev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Matt
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Kamen Bundev
Telerik team
Share this question
or