Mouse Over Content Menu

3 posts, 0 answers
  1. Lee
    Lee avatar
    3 posts
    Member since:
    Mar 2008

    Posted 26 Feb 2010 Link to this post

    Hi Guys and Girls

    I have a RadMenu made up of images and i want to use a simlar style to your site menu , but want to make the content menu show on the mouseover event not the onclick event .

    Can this be done and if so is there a help or guidelines out there
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 04 Mar 2010 Link to this post

    Hello Lee,

    Please, use the demo from this kb article and replace 'onclick' with 'onmouseover' in the TopNavigation.ascx user control:

    var menu = $find('<%= menuTopNavigation.ClientID %>');
           var productsItem = menu.get_items().getItem(0);
           dropDownArrow =
                   productsItem.get_element().getElementsByTagName('span')[0].appendChild(                    
                       document.createElement("a")
                   );
           var contextMenu = $find('<%= MyLovelyContextMenu.ClientID %>');
           dropDownArrow.id = 'rmExpandMenuArrow';
           dropDownArrow.href = "#";
           dropDownArrow.onmouseover =
                   function(e) {
                       if (!e) e = window.event;
                       if (!e.target) e.target = e.srcElement;
                       // open context menu


    Kind regards,
    Peter
    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.
  3. Lee
    Lee avatar
    3 posts
    Member since:
    Mar 2008

    Posted 07 Mar 2010 Link to this post

    Thank you for your help , but is there a way that you can remove the drop down arrow ?
Back to Top