+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Menu animation removes class names

Menu animation removes class names

2 posts, 0 answered
  1. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    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?

    Thanks!
    James
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    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