More in this section
Forums / Developing with Sitefinity / Menu animation removes class names

Menu animation removes class names

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. James@Nw
    James@Nw avatar
    265 posts
    05 May 2009
    14 Sep 2010
    Link to this post
    Hi Guys,

    I am having to add class names to the Radmenu using jQuery on a specific project I am working on. All's working well but when I roll off the menu, it seems that the Radmenu replaces the CSS class names which then breaks my menu.

    Could you please tell me how I would go about preventing this from happening?

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    15 Sep 2010
    Link to this post
    Hello James,

    Thank you for using our services.

    When the menu is hovered, expanded, focused etc. it uses jQuery to apply new classes to the item the action is being applied to. This is used to provide the functionality of expanding, or showing which item is focusted, etc. You can subscribe to the RadMenu client side events such as mouse over, opening, etc and apply your classes there too. This will ensure that your custom CSS classes are maintained.

    Best wishes,
    Radoslav Georgiev
    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
2 posts, 0 answered