This is a migrated thread and some comments may be shown as answers.

Radmenu cursor problem

2 Answers 86 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Nick blank
Top achievements
Rank 1
Nick blank asked on 02 Jul 2010, 02:57 PM
I have implemented a radmenu on my webpage. However when the client hovers over the menu the cursor stays as a pointer and we want it to display the default hand cursor (hover icon).

Is there an easy way to do this? Thanks.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Jul 2010, 08:32 AM
Hai Nick,


Adding the following style on page will do the trick for you.

CSS:
 
    <style type="text/css"
        .RadMenu a.rmLink 
        { 
            cursor: hand !important; 
        } 
    </style> 



-Shinu.
0
josephjijo
Top achievements
Rank 1
answered on 21 Jul 2010, 03:10 PM
protected void rm_top_PreRender(object sender, EventArgs e)
       {
           foreach (RadMenuItem rootItem in rm_top.Items)
           {
               rootItem.Attributes.Add("style", "color:#004F4C;font-weight:bold");
               foreach (RadMenuItem childItem in rootItem.Items)
               {
                   childItem.Attributes.Add("style", "cursor:pointer");//for child items 
               }
           }
       }
Tags
Menu
Asked by
Nick blank
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
josephjijo
Top achievements
Rank 1
Share this question
or